diff options
| author | Jacob Pratt <jacob@jhpratt.dev> | 2025-06-01 00:35:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-01 00:35:50 +0200 |
| commit | fa494d652da0c732a8efcc62e3e1ed93da4824a1 (patch) | |
| tree | 691e07b5f5fe8b6d24f6d6fb9a1199723badd7c9 /compiler/rustc_codegen_llvm/src | |
| parent | 241ec137fb7c2134ab24d326cd482b77a4380ba5 (diff) | |
| parent | cea87ecad6360e06abbead84d9ffdf78c01db7d1 (diff) | |
| download | rust-fa494d652da0c732a8efcc62e3e1ed93da4824a1.tar.gz rust-fa494d652da0c732a8efcc62e3e1ed93da4824a1.zip | |
Rollup merge of #141215 - xizheyin:issue-141138, r=workingjubilee
std: clarify Clone trait documentation about duplication semantics Closes rust-lang/rust#141138 The change explicitly explains that cloning behavior varies by type and clarifies that smart pointers (`Arc`, `Rc`) share the same underlying data. I've also added an example of cloning to Arc.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
