summaryrefslogtreecommitdiff
path: root/src/layout/node.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/layout/node.rs')
-rw-r--r--src/layout/node.rs2
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,