You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The core validate handler uses a mutable reference, even though the mutability is not needed. This also adds risks of mistakenly calling a mutable method on it.
Details
&mut impl Router should be refactored to &impl Router
This is also detectable by running cargo +nightly clippy.
Bug Summary
The core validate handler uses a mutable reference, even though the mutability is not needed. This also adds risks of mistakenly calling a mutable method on it.
Details
&mut impl Router
should be refactored to&impl Router
This is also detectable by running
cargo +nightly clippy
.Version
ibc-rs/crates/ibc/src/core/handler.rs
Lines 54 to 58 in 133863d
The text was updated successfully, but these errors were encountered: