Skip to content

Commit

Permalink
Make clippy happy
Browse files Browse the repository at this point in the history
Signed-off-by: Denis Varlakov <[email protected]>
  • Loading branch information
survived committed Dec 3, 2024
1 parent 6b564fc commit f6f44d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion round-based/src/state_machine/shared_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ impl<M> core::fmt::Debug for SharedStateRef<M> {
/// [`SharedStateRef::can_schedule`].
pub struct CanSchedule<T>(T);

impl<'a, M> CanSchedule<&'a SharedStateRef<M>> {
impl<M> CanSchedule<&SharedStateRef<M>> {
fn borrow_mut(&self) -> core::cell::RefMut<SharedState<M>> {
self.0 .0.borrow_mut()
}
Expand Down

0 comments on commit f6f44d3

Please sign in to comment.