diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-01-04 21:29:15 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-01-04 21:29:15 +0100 |
| commit | 2e77b1c836220766398e379ae0157736fb448874 (patch) | |
| tree | 70fc7d28f44193f26d880b5315ce55ed951af73c /src/layout/stack.rs | |
| parent | 77c06ebc24ab3a43dc2268763ff8f10963f875b4 (diff) | |
Better value representations, type function 🌐
Diffstat (limited to 'src/layout/stack.rs')
| -rw-r--r-- | src/layout/stack.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/layout/stack.rs b/src/layout/stack.rs index e98be7ed..eac631d9 100644 --- a/src/layout/stack.rs +++ b/src/layout/stack.rs @@ -34,9 +34,9 @@ impl Layout for NodeStack { } } -impl From<NodeStack> for Node { +impl From<NodeStack> for NodeAny { fn from(stack: NodeStack) -> Self { - Self::any(stack) + Self::new(stack) } } |
