Skip to content

Commit 6a7be6f

Browse files
Remove unnecessary suppression of clippy::assigning_clones
The lint is no longer triggered because of the switch from educe to derivative. educe generates an implementation of Clone::clone_from for every non-Copy struct and enum. derivative only generates one if explicitly requested. The false positives may have been fixed in rust-lang/rust-clippy#12756. The fix did not make it into Rust 1.79.0 or Rust 1.80.0.
1 parent 27101a6 commit 6a7be6f

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

ssz/src/persistent_list.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -568,13 +568,6 @@ impl<T, B: BundleSize<T>> Node<T, B> {
568568

569569
loop {
570570
match node {
571-
// False positive. See:
572-
// - <https://github.com/rust-lang/rust-clippy/issues/12444>
573-
// - <https://github.com/rust-lang/rust-clippy/issues/12460>
574-
// - <https://github.com/rust-lang/rust-clippy/issues/12467>
575-
// - <https://github.com/rust-lang/rust-clippy/issues/12749>
576-
// - <https://github.com/rust-lang/rust-clippy/issues/12757>
577-
#[allow(clippy::assigning_clones)]
578571
Self::Internal {
579572
left, left_height, ..
580573
} if B::depth_of_length(length) <= *left_height => {

0 commit comments

Comments
 (0)