diff options
Diffstat (limited to 'src/func/mod.rs')
| -rw-r--r-- | src/func/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/func/mod.rs b/src/func/mod.rs index aca612aa..69f28e00 100644 --- a/src/func/mod.rs +++ b/src/func/mod.rs @@ -32,7 +32,7 @@ pub trait ParseFunc { /// Parse the header and body into this function given a context. fn parse( args: FuncArgs, - body: Option<Spanned<&str>>, + body: Option<&str>, ctx: ParseContext, metadata: Self::Meta, ) -> ParseResult<Self> where Self: Sized; @@ -125,7 +125,7 @@ pub struct Scope { /// implements [`LayoutFunc`]. type Parser = dyn Fn( FuncArgs, - Option<Spanned<&str>>, + Option<&str>, ParseContext ) -> ParseResult<Box<dyn LayoutFunc>>; |
