Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
warning: you are explicitly cloning with `.map()` --> gen/cmd/src/app.rs:72:32 | 72 | let cxx_impl_annotations = matches | ________________________________^ 73 | | .get_one::<String>(CXX_IMPL_ANNOTATIONS) 74 | | .map(String::clone); | |___________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_clone = note: `-W clippy::map-clone` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::map_clone)]` help: consider calling the dedicated `cloned` method | 72 ~ let cxx_impl_annotations = matches 73 ~ .get_one::<String>(CXX_IMPL_ANNOTATIONS).cloned(); |
- Loading branch information