Diffstat (limited to 'src/walk/walkers/core/noop.rs')
| -rw-r--r-- | src/walk/walkers/core/noop.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/walk/walkers/core/noop.rs b/src/walk/walkers/core/noop.rs index 21d0880..6c846e7 100644 --- a/src/walk/walkers/core/noop.rs +++ b/src/walk/walkers/core/noop.rs @@ -1,5 +1,5 @@ use crate::{ - effect::{Effect, ObjSafe}, + effect::{Effect, Effective, ErasedEffective}, never::Never, protocol::DynVisitor, WalkerTypes, @@ -28,7 +28,7 @@ impl<'ctx, E: Effect> crate::Walker<'ctx, E> for NoopWalker { fn walk<'b: 'c, 'c>( self, _visitor: DynVisitor<'b, 'ctx>, - ) -> ObjSafe<'c, Result<Self::Output, Self::Error>, E> { - E::ready(Ok(())).into() + ) -> ErasedEffective<'c, Result<Self::Output, Self::Error>, E> { + E::ready(Ok(())).into_erased() } } |