Diffstat (limited to 'src/walk/walkers/core/noop.rs')
| -rw-r--r-- | src/walk/walkers/core/noop.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/walk/walkers/core/noop.rs b/src/walk/walkers/core/noop.rs index e26eba4..ec8e5b8 100644 --- a/src/walk/walkers/core/noop.rs +++ b/src/walk/walkers/core/noop.rs @@ -2,7 +2,6 @@ use crate::{ effect::{Effect, ErasedEffective}, never::Never, protocol::DynVisitor, - WalkerTypes, }; /// A walker that does nothing. @@ -18,13 +17,11 @@ impl NoopWalker { } } -impl WalkerTypes for NoopWalker { +impl<'ctx, E: Effect> crate::Walker<'ctx, E> for NoopWalker { type Error = Never; type Output = (); -} -impl<'ctx, E: Effect> crate::Walker<'ctx, E> for NoopWalker { fn walk<'b: 'c, 'c>( self, _visitor: DynVisitor<'b, 'ctx>, |