From 40ea35cbe7482ce04096c4d63a848c8601cc1848 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Mon, 3 Feb 2020 10:37:50 +0100 Subject: =?UTF-8?q?Upgrade=20to=20new=20toddle=20interface=20=F0=9F=90=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/func.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/func.rs') 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 { -- cgit v1.2.3