about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/lib.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-09-06 12:34:31 +0000
committerbors <bors@rust-lang.org>2020-09-06 12:34:31 +0000
commitaa81d32165dc9f0952bc520f223503aedd755b31 (patch)
tree2d3c11d80c535b04ccf3dd35b4b9ba4f978d6611 /compiler/rustc_codegen_llvm/src/lib.rs
parent23e49ddafbe6765d117d3c7e2485d7ac73d9d79e (diff)
parent6b75e3d11b89671df0a3f284252584414bfe17d9 (diff)
downloadrust-aa81d32165dc9f0952bc520f223503aedd755b31.tar.gz
rust-aa81d32165dc9f0952bc520f223503aedd755b31.zip
Auto merge of #76128 - poliorcetics:doc-use-arc-clone, r=KodrAus
Use Arc::clone and Rc::clone in documentation

This PR replaces uses of `x.clone()` by `Rc::clone(&x)` (or `Arc::clone(&x)`) to better match the documentation for those types.

@rustbot modify labels: T-doc
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/lib.rs')
0 files changed, 0 insertions, 0 deletions