summaryrefslogtreecommitdiff
path: root/src/library/transform.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-11-24 17:00:10 +0100
committerLaurenz <laurmaedje@gmail.com>2021-11-24 17:00:10 +0100
commit304d9dd1107504f3925c2593dd279ea6616defab (patch)
tree1af3bd9c68659d1a644e40a50a31e6688267400a /src/library/transform.rs
parent8a88f71cb11565c1a78bd57f02a8df17cb2bf7a0 (diff)
Small style changes
Diffstat (limited to 'src/library/transform.rs')
-rw-r--r--src/library/transform.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library/transform.rs b/src/library/transform.rs
index 8d1c6132..75df8067 100644
--- a/src/library/transform.rs
+++ b/src/library/transform.rs
@@ -40,12 +40,12 @@ fn transform_impl(args: &mut Args, transform: Transform) -> TypResult<Value> {
/// A node that transforms its child without affecting layout.
#[derive(Debug, Hash)]
pub struct TransformNode {
- /// The node whose contents should be transformed.
- pub child: PackedNode,
/// Transformation to apply to the contents.
pub transform: Transform,
/// The origin of the transformation.
pub origin: Spec<Align>,
+ /// The node whose contents should be transformed.
+ pub child: PackedNode,
}
impl Layout for TransformNode {