about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorllogiq <bogusandre@gmail.com>2025-02-12 19:02:06 +0000
committerGitHub <noreply@github.com>2025-02-12 19:02:06 +0000
commit4129f5c8241ae2eafc9888fe784a536e0c29052b (patch)
treec1e5016917a3d410d3918c0eacdbdc565bdea742 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent1cb4236a95b7ecd10b01d91e598bfd7f6c5188ad (diff)
parent342ac8ee289abbc28da41daa6cbb3e60586fe42b (diff)
downloadrust-4129f5c8241ae2eafc9888fe784a536e0c29052b.tar.gz
rust-4129f5c8241ae2eafc9888fe784a536e0c29052b.zip
New lint: `mem_replace_option_with_some` (#14197)
`mem::replace(opt, Some(v))` can be replaced by `opt.replace(v)`.

Close #14195

changelog: [`mem_replace_option_with_some`]: new lint
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions