Skip to content

Commit 512d3f8

Browse files
authored
Merge pull request #1814 from YangFong/patch-1
Update borrow.md
2 parents e46c7b9 + df7effd commit 512d3f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scope/borrow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ fn main() {
4545
// `_ref_to_i32` goes out of scope and is no longer borrowed.
4646
}
4747
48-
// `boxed_i32` can now give up ownership to `eat_box` and be destroyed
48+
// `boxed_i32` can now give up ownership to `eat_box_32` and be destroyed
4949
eat_box_i32(boxed_i32);
5050
}
5151
```

0 commit comments

Comments
 (0)