diff options
Diffstat (limited to 'src/layout/mod.rs')
| -rw-r--r-- | src/layout/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/layout/mod.rs b/src/layout/mod.rs index c053cda0..768ff160 100644 --- a/src/layout/mod.rs +++ b/src/layout/mod.rs @@ -25,7 +25,7 @@ use crate::compute::scope::Scope; use crate::font::SharedFontLoader; use crate::geom::{Margins, Size}; use crate::style::{LayoutStyle, PageStyle, TextStyle}; -use crate::syntax::SyntaxTree; +use crate::syntax::SynTree; use elements::LayoutElements; use prelude::*; @@ -121,7 +121,7 @@ pub enum Command { /// This has the effect that the content fits nicely into the active line /// layouting, enabling functions to e.g. change the style of some piece of /// text while keeping it part of the current paragraph. - LayoutSyntaxTree(SyntaxTree), + LayoutSyntaxTree(SynTree), /// Add a finished layout. Add(BoxLayout), |
