diff options
Diffstat (limited to 'src/layout/text.rs')
| -rw-r--r-- | src/layout/text.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/layout/text.rs b/src/layout/text.rs index 8a0e7cec..b5ff192e 100644 --- a/src/layout/text.rs +++ b/src/layout/text.rs @@ -26,7 +26,7 @@ pub fn layout_text(text: &str, ctx: TextContext) -> LayoutResult<Layout> { struct TextLayouter<'a, 'p> { ctx: TextContext<'a, 'p>, text: &'a str, - actions: LayoutActionList, + actions: LayoutActions, buffer: String, active_font: usize, width: Size, @@ -39,7 +39,7 @@ impl<'a, 'p> TextLayouter<'a, 'p> { TextLayouter { ctx, text, - actions: LayoutActionList::new(), + actions: LayoutActions::new(), buffer: String::new(), active_font: std::usize::MAX, width: Size::zero(), |
