Remove superfluous line from Nomicon
This commit is contained in:
parent
d50352419e
commit
010b7f3621
1 changed files with 0 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue