Skip to content

Commit

Permalink
Remove superfluous line from Nomicon
Browse files Browse the repository at this point in the history
  • Loading branch information
apasel422 committed Aug 29, 2015
1 parent d503524 commit 010b7f3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/doc/nomicon/leaking.md
Expand Up @@ -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
Expand Down

0 comments on commit 010b7f3

Please sign in to comment.