Diffstat (limited to 'tests/common/protocol/recoverable.rs')
-rw-r--r--tests/common/protocol/recoverable.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/common/protocol/recoverable.rs b/tests/common/protocol/recoverable.rs
index 47c6d21..1ccce92 100644
--- a/tests/common/protocol/recoverable.rs
+++ b/tests/common/protocol/recoverable.rs
@@ -40,7 +40,7 @@ impl<'ctx, E: Effect> Recoverable<'ctx, E> for MockRecoverableVisitor<E> {
&'a mut self,
scope: DynRecoverableScope<'a, 'ctx, E>,
) -> ErasedEffective<'a, VisitResult<DynRecoverableScope<'a, 'ctx, E>>, E> {
- E::ready(self.visit()(&(), scope)).into_erased()
+ E::ready(self.visit()(&(), scope))
}
}
@@ -55,6 +55,6 @@ impl<'ctx, E: Effect> RecoverableScope<'ctx, E> for MockRecoverableScopeVisitor<
&'a mut self,
visitor: DynVisitor<'b, 'ctx>,
) -> ErasedEffective<'c, Status, E> {
- E::ready(self.new_walk(visitor)).into_erased()
+ E::ready(self.new_walk(visitor))
}
}