about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorNicolas Silva <nical@fastmail.com>2017-05-21 16:00:04 +0200
committerNicolas Silva <nical@fastmail.com>2017-05-22 16:15:37 +0200
commitdec23d41a607b78c590ab9672815ff53c1e282a7 (patch)
treeb640430b7a2506719315e7b46608292ee3d8c975 /src/test/debuginfo/enum-thinlto.rs
parent84a155f5020bdfecf33ee3d25b2036948165e45f (diff)
downloadrust-dec23d41a607b78c590ab9672815ff53c1e282a7.tar.gz
rust-dec23d41a607b78c590ab9672815ff53c1e282a7.zip
Update Rc and Arc documentation.
It was decided in the RFC discussion https://github.com/rust-lang/rfcs/pull/1954 to make the function call syntax Rc::clone(&foo) the idiomatic way to clone a reference counted pointer (over the method call syntax foo.clone(). This change updates the documentation of Rc, Arc and their respoective Weak pointers to reflect it and bring more exposure to the existence of the function call syntax.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions