Skip to content

Commit 010b7f3

Browse files
committed
Remove superfluous line from Nomicon
1 parent d503524 commit 010b7f3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/doc/nomicon/leaking.md

-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@ impl<T> Rc<T> {
155155
impl<T> Drop for Rc<T> {
156156
fn drop(&mut self) {
157157
unsafe {
158-
let inner = &mut ;
159158
(*self.ptr).ref_count -= 1;
160159
if (*self.ptr).ref_count == 0 {
161160
// drop the data and then free it

0 commit comments

Comments
 (0)