about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-12-13 11:05:36 +0900
committerGitHub <noreply@github.com>2020-12-13 11:05:36 +0900
commit1b81f08d4cc817548f0b503f33c8b665455d60a6 (patch)
tree9bb0dbecafcdd4a2ab298161e946fa4d8e46887d /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parentf80c6aeb87abdf79e370de012a56245cbb91f6b9 (diff)
parentcf10a0abf23850018b32ed9a15b1bce6a1e71c93 (diff)
downloadrust-1b81f08d4cc817548f0b503f33c8b665455d60a6.tar.gz
rust-1b81f08d4cc817548f0b503f33c8b665455d60a6.zip
Rollup merge of #79940 - matthiaskrgr:cl15ppy, r=Dylan-DPC
fix more clippy::complexity findings

fix clippy::unnecessary_filter_map
use if let Some(x) = ..  instead of ...map(|x|) to conditionally run fns that return () (clippy::option_map_unit_fn)
fix clippy::{needless_bool, manual_unwrap_or}
don't clone types that are copy (clippy::clone_on_copy)
don't convert types into identical types with .into() (clippy::useless_conversion)
use strip_prefix over slicing (clippy::manual_strip)

r? ``@Dylan-DPC``
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions