Ignore expl_impl_clone_on_copy pedantic clippy lint
error: you are implementing `Clone` explicitly on a `Copy` type --> src/lib.rs:72:1 | 72 | / impl Clone for Buffer { 73 | | #[inline] 74 | | fn clone(&self) -> Self { 75 | | Buffer::new() 76 | | } 77 | | } | |_^ | note: consider deriving `Clone` or removing `Copy` --> src/lib.rs:72:1 | 72 | / impl Clone for Buffer { 73 | | #[inline] 74 | | fn clone(&self) -> Self { 75 | | Buffer::new() 76 | | } 77 | | } | |_^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expl_impl_clone_on_copy = note: `-D clippy::expl-impl-clone-on-copy` implied by `-D clippy::pedantic`
This commit is contained in:
parent
9c8ced9755
commit
0dccfa4597
|
@ -35,6 +35,7 @@
|
|||
#![allow(
|
||||
clippy::cast_lossless,
|
||||
clippy::cast_possible_truncation,
|
||||
clippy::expl_impl_clone_on_copy,
|
||||
clippy::must_use_candidate,
|
||||
clippy::unreadable_literal
|
||||
)]
|
||||
|
|
Loading…
Reference in New Issue