summaryrefslogtreecommitdiff
path: root/src/func.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2020-02-03 10:37:50 +0100
committerLaurenz <laurmaedje@gmail.com>2020-02-03 10:37:50 +0100
commit40ea35cbe7482ce04096c4d63a848c8601cc1848 (patch)
tree080a5727ba552ee4b2bf750208e5c243c1e195ef /src/func.rs
parent20fb4e7c379b79b84d9884d5f2c89d781c5793e2 (diff)
Upgrade to new toddle interface 🐳
Diffstat (limited to 'src/func.rs')
-rw-r--r--src/func.rs5
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 {