diff options
Diffstat (limited to 'src/func.rs')
| -rw-r--r-- | src/func.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/func.rs b/src/func.rs index d3bc13cc..afc796ae 100644 --- a/src/func.rs +++ b/src/func.rs @@ -11,7 +11,7 @@ pub mod prelude { pub use crate::layout::Command::{self, *}; pub use crate::style::{LayoutStyle, PageStyle, TextStyle}; pub use crate::syntax::expr::*; - pub use crate::syntax::model::SyntaxModel; + pub use crate::syntax::tree::SyntaxTree; pub use crate::syntax::span::{Span, Spanned}; pub use crate::syntax::value::*; pub use super::OptionExt; @@ -132,11 +132,11 @@ macro_rules! function { }; (@layout($name:ident) layout($this:ident, $ctx:ident, $feedback:ident) $code:block) => { - impl $crate::syntax::model::Model for $name { + impl $crate::layout::Layout for $name { fn layout<'a, 'b, 't>( #[allow(unused)] &'a $this, #[allow(unused)] mut $ctx: $crate::layout::LayoutContext<'b>, - ) -> $crate::layout::DynFuture<'t, $crate::Pass<$crate::layout::Commands<'a>>> + ) -> $crate::DynFuture<'t, $crate::Pass<$crate::layout::Commands<'a>>> where 'a: 't, 'b: 't, |
