diff options
| -rw-r--r-- | src/doc/nomicon/leaking.md | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/doc/nomicon/leaking.md b/src/doc/nomicon/leaking.md index 1aa78e112ea..0441db27526 100644 --- a/src/doc/nomicon/leaking.md +++ b/src/doc/nomicon/leaking.md @@ -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 |
