Uh oh!
There was an error while loading. Please reload this page.
Tweak std::rc docs - #36571
Conversation
There was a problem hiding this comment.
Not a concrete suggestion, but these are called associated functions
There was a problem hiding this comment.
Alternatively, in order to prevent the code block from breaking up the sentence, it could also be something like:
In order to avoid name clashes with
T's methods, the methods ofRcitself, such asdowngrade, are called using function-like syntax:
There was a problem hiding this comment.
I went with == because we're talking about the definition of ==. Of course, assert_eq! uses == but it's an extra layer of indirection.
There was a problem hiding this comment.
I don't think there's an assert_neq!. Anyway, see above.
There was a problem hiding this comment.
Just kidding, missed the !=. On a side note: rust-lang/rfcs#1653
kmcallister
commented
Sep 19, 2016
btw, I'm updating |
kmcallister
commented
Sep 21, 2016
Rebased and squashed. |
GuillaumeGomez
commented
Sep 21, 2016
Thanks a lot! @bors: r+ rollup |
bors
commented
Sep 21, 2016
📌 Commit c316ae5 has been approved by |
…cs, r=GuillaumeGomez Tweak std::rc docs Fixesrust-lang#29372. r? @GuillaumeGomez
…cs, r=GuillaumeGomez Tweak std::rc docs Fixesrust-lang#29372. r? @GuillaumeGomez
Update Arc docs to match new Rc docs `Rc` docs were updated in rust-lang#36571. This applies similar changes to `Arc` docs. r? @GuillaumeGomez
Fixes#29372.
r? @GuillaumeGomez