]> git.lizzy.rs Git - rust.git/commitdiff
Remove superfluous line from Nomicon
authorAndrew Paseltiner <apaseltiner@gmail.com>
Sat, 29 Aug 2015 02:07:02 +0000 (22:07 -0400)
committerAndrew Paseltiner <apaseltiner@gmail.com>
Sat, 29 Aug 2015 02:07:02 +0000 (22:07 -0400)
src/doc/nomicon/leaking.md

index 1aa78e112ea187d98b9f8cccd78a59503acd4cf6..0441db27526f870bf3d7edde3261b86bdf70a71d 100644 (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