Diffstat (limited to 'src/walk/walkers/core/noop.rs')
| -rw-r--r-- | src/walk/walkers/core/noop.rs | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/walk/walkers/core/noop.rs b/src/walk/walkers/core/noop.rs index 4a7f255..21d0880 100644 --- a/src/walk/walkers/core/noop.rs +++ b/src/walk/walkers/core/noop.rs @@ -25,13 +25,10 @@ impl WalkerTypes for NoopWalker { } impl<'ctx, E: Effect> crate::Walker<'ctx, E> for NoopWalker { - fn walk<'a>( + fn walk<'b: 'c, 'c>( self, - _visitor: DynVisitor<'a, 'ctx>, - ) -> ObjSafe<'a, Result<Self::Output, Self::Error>, E> - where - Self: 'a, - { + _visitor: DynVisitor<'b, 'ctx>, + ) -> ObjSafe<'c, Result<Self::Output, Self::Error>, E> { E::ready(Ok(())).into() } } |