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
error: assigning the result of `Clone::clone()` may be inefficient
--> crates/relayer-types/src/core/ics23_commitment/merkle.rs:114:21
|
114 | value = subroot.clone();
| ^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `value.clone_from(&subroot)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
= note: `-D clippy::assigning-clones` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::assigning_clones)]`
error: assigning the result of `Clone::clone()` may be inefficient
--> crates/relayer-types/src/core/ics23_commitment/merkle.rs:114:21
|
114 | value = subroot.clone();
| ^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `value.clone_from(&subroot)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
= note: `-D clippy::assigning-clones` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::assigning_clones)]`