Skip to content

Commit 477561d

Browse files
committed
Auto merge of #28078 - apasel422:patch-1, r=alexcrichton
2 parents e9111e6 + 010b7f3 commit 477561d

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)