diff --git a/round-based/src/state_machine/shared_state.rs b/round-based/src/state_machine/shared_state.rs index e73cc47..cd8ddf8 100644 --- a/round-based/src/state_machine/shared_state.rs +++ b/round-based/src/state_machine/shared_state.rs @@ -132,7 +132,7 @@ impl core::fmt::Debug for SharedStateRef { /// [`SharedStateRef::can_schedule`]. pub struct CanSchedule(T); -impl<'a, M> CanSchedule<&'a SharedStateRef> { +impl CanSchedule<&SharedStateRef> { fn borrow_mut(&self) -> core::cell::RefMut> { self.0 .0.borrow_mut() }