diff options
Diffstat (limited to 'src/func.rs')
| -rw-r--r-- | src/func.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/func.rs b/src/func.rs index ce67034f..63d7e8ef 100644 --- a/src/func.rs +++ b/src/func.rs @@ -145,15 +145,14 @@ macro_rules! function { (@layout($name:ident) layout($this:ident, $ctx:ident, $errors:ident) $code:block) => { impl $crate::syntax::Model for $name { - fn layout<'a, 'b, 'c, 't>( + fn layout<'a, 'b, 't>( #[allow(unused)] &'a $this, - #[allow(unused)] mut $ctx: $crate::layout::LayoutContext<'b, 'c>, + #[allow(unused)] mut $ctx: $crate::layout::LayoutContext<'b>, ) -> $crate::layout::DynFuture<'t, $crate::layout::Layouted< $crate::layout::Commands<'a>> > where 'a: 't, 'b: 't, - 'c: 't, Self: 't, { Box::pin(async move { |
