diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-07-10 20:01:18 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-07-10 23:10:17 +0200 |
| commit | 6a4823461f491aef63451f097ddfe5602e0b2157 (patch) | |
| tree | ad11b0ad169d030942d950573c729d50f7b3291b /src/layout/image.rs | |
| parent | 36b3067c19c8743032a44f888ee48702b88d135b (diff) | |
Reference-count complex values
Rename some nodes types
Diffstat (limited to 'src/layout/image.rs')
| -rw-r--r-- | src/layout/image.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout/image.rs b/src/layout/image.rs index 9ea9db55..07d7799c 100644 --- a/src/layout/image.rs +++ b/src/layout/image.rs @@ -59,7 +59,7 @@ impl Layout for ImageNode { } } -impl From<ImageNode> for AnyNode { +impl From<ImageNode> for LayoutNode { fn from(image: ImageNode) -> Self { Self::new(image) } |
