Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Suppress incorrect_clone_impl_on_copy_type clippy false positive
rust-lang/rust-clippy#11072 error: incorrect implementation of `clone` on a `Copy` type --> src/lib.rs:74:29 | 74 | fn clone(&self) -> Self { | _____________________________^ 75 | | Buffer::new() 76 | | } | |_____^ help: change this to: `{ *self }` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incorrect_clone_impl_on_copy_type = note: `-D clippy::incorrect-clone-impl-on-copy-type` implied by `-D clippy::all`
- Loading branch information