Diffstat (limited to 'tests/common/protocol/hint.rs')
-rw-r--r--tests/common/protocol/hint.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/common/protocol/hint.rs b/tests/common/protocol/hint.rs
index 5809380..ec94277 100644
--- a/tests/common/protocol/hint.rs
+++ b/tests/common/protocol/hint.rs
@@ -33,13 +33,13 @@ impl<'ctx, P: HintMeta> Hint<'ctx, P> for MockHintWalker<P> {
visitor: DynVisitor<'a, 'ctx>,
hint: MetaHint<'a, 'ctx, P>,
) -> ErasedEffective<'a, Flow, P::Effect> {
- P::Effect::ready(self.hint(visitor, hint)).into_erased()
+ P::Effect::ready(self.hint(visitor, hint))
}
fn known<'a>(
&'a mut self,
hint: &'a MetaHint<'a, 'ctx, P>,
) -> ErasedEffective<'a, Result<MetaKnown<'a, 'ctx, P>, ()>, P::Effect> {
- P::Effect::ready(Self::known(self)(&(), hint)).into_erased()
+ P::Effect::ready(Self::known(self)(&(), hint))
}
}