diff options
| author | Pietro Albini <pietro@pietroalbini.org> | 2018-11-18 23:24:56 +0100 |
|---|---|---|
| committer | kennytm <kennytm@gmail.com> | 2018-11-19 22:06:35 +0800 |
| commit | 05ae505a4c438b80268680747713c84ebad662f3 (patch) | |
| tree | 0009c1b9aac60614602331feb030710a03804562 /src/rustllvm/RustWrapper.cpp | |
| parent | c0d48ce39a62292f370f756cac45c2a77687a2a1 (diff) | |
| parent | c1221e2072beebe90d6bbe8be99a51be1e6d11ea (diff) | |
| download | rust-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
