Remove superfluous line from Nomicon

pull/10/head
Andrew Paseltiner 9 years ago committed by Manish Goregaokar
parent 4b1781c350
commit 649ba39bc4

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

Loading…
Cancel
Save