Auto merge of #28078 - apasel422:patch-1, r=alexcrichton
This commit is contained in:
commit
477561de4e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user