Auto merge of #28078 - apasel422:patch-1, r=alexcrichton

This commit is contained in:
bors 2015-08-29 04:58:45 +00:00
commit 477561de4e

View File

@ -155,7 +155,6 @@ impl<T> Rc<T> {
impl<T> Drop for Rc<T> {
fn drop(&mut self) {
unsafe {
let inner = &mut ;
(*self.ptr).ref_count -= 1;
if (*self.ptr).ref_count == 0 {
// drop the data and then free it