diff options
| author | Laurenz <laurmaedje@gmail.com> | 2019-12-05 20:29:55 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2019-12-05 20:29:55 +0100 |
| commit | f5b104d0da1c414fb59878d7378add316ee14798 (patch) | |
| tree | 56968591bd997aa78cb8690da318ee97a822f2a9 /src/layout/text.rs | |
| parent | 72a9631b038d1a60e4e4a78e92cd69e6f8ce4316 (diff) | |
Rename crate `typst` -> `typstc` ✏
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(), |
