summaryrefslogtreecommitdiff
path: root/src/layout/fixed.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-01-04 21:29:15 +0100
committerLaurenz <laurmaedje@gmail.com>2021-01-04 21:29:15 +0100
commit2e77b1c836220766398e379ae0157736fb448874 (patch)
tree70fc7d28f44193f26d880b5315ce55ed951af73c /src/layout/fixed.rs
parent77c06ebc24ab3a43dc2268763ff8f10963f875b4 (diff)
Better value representations, type function 🌐
Diffstat (limited to 'src/layout/fixed.rs')
-rw-r--r--src/layout/fixed.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/layout/fixed.rs b/src/layout/fixed.rs
index 2ec46df3..cb69b178 100644
--- a/src/layout/fixed.rs
+++ b/src/layout/fixed.rs
@@ -25,8 +25,8 @@ impl Layout for NodeFixed {
}
}
-impl From<NodeFixed> for Node {
+impl From<NodeFixed> for NodeAny {
fn from(fixed: NodeFixed) -> Self {
- Self::any(fixed)
+ Self::new(fixed)
}
}