about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorPietro Albini <pietro@pietroalbini.org>2018-11-18 23:24:56 +0100
committerkennytm <kennytm@gmail.com>2018-11-19 22:06:35 +0800
commit05ae505a4c438b80268680747713c84ebad662f3 (patch)
tree0009c1b9aac60614602331feb030710a03804562 /src/rustllvm/RustWrapper.cpp
parentc0d48ce39a62292f370f756cac45c2a77687a2a1 (diff)
parentc1221e2072beebe90d6bbe8be99a51be1e6d11ea (diff)
downloadrust-05ae505a4c438b80268680747713c84ebad662f3.tar.gz
rust-05ae505a4c438b80268680747713c84ebad662f3.zip
Rollup merge of #56011 - CBenoit:master, r=QuietMisdreavus
Replace data.clone() by Arc::clone(&data) in mutex doc.

Arc::clone(&from) is considered as more idiomatic because it conveys more explicitly the meaning of the code.
Since this clone is visible in the official documentation, I thought it could be better to use the more idiomatic version.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions