diff options
| author | Laurenz <laurmaedje@gmail.com> | 2020-10-11 13:08:27 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2020-10-11 13:08:27 +0200 |
| commit | f04ad0ffa5f34bb7fd97e5c94c7547f96904220c (patch) | |
| tree | 8fb4ebbcf1a24f08ded0f3fea1afe9f9bcdf6697 /src/layout/node.rs | |
| parent | c216a4fc26c72938ddad60bc5fe4fa9e45263b30 (diff) | |
Rename LayoutItem to Layouted ✏
Diffstat (limited to 'src/layout/node.rs')
| -rw-r--r-- | src/layout/node.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout/node.rs b/src/layout/node.rs index 3230621f..0adbb145 100644 --- a/src/layout/node.rs +++ b/src/layout/node.rs @@ -40,7 +40,7 @@ impl Layout for LayoutNode { &self, ctx: &mut LayoutContext, constraints: LayoutConstraints, - ) -> Vec<LayoutItem> { + ) -> Vec<Layouted> { match self { Self::Spacing(spacing) => spacing.layout(ctx, constraints).await, Self::Text(text) => text.layout(ctx, constraints).await, |
