]> git.lizzy.rs Git - rust.git/commit
Auto merge of #35992 - SimonSapin:rc-arc-ptr-eq, r=alexcrichton
authorbors <bors@rust-lang.org>
Thu, 15 Sep 2016 16:58:26 +0000 (09:58 -0700)
committerGitHub <noreply@github.com>
Thu, 15 Sep 2016 16:58:26 +0000 (09:58 -0700)
commitd1acabeaa204db9235d9e72c5bae4cfaa82da763
tree822ec5716020f1961d883a72753af9bd0556f75b
parentdc75933abaf3f6d619ada2bbc12b01bc85ddb4ae
parent5ce9feeb8cb48a89feffe579cfc1a9281b4dfbb0
Auto merge of #35992 - SimonSapin:rc-arc-ptr-eq, r=alexcrichton

Add `pub fn ptr_eq(this: &Self, other: &Self) -> bool` to Rc and Arc

Servo and Kuchiki have had helper functions doing this for some time.