We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a071c6 commit 7e0d242Copy full SHA for 7e0d242
src/scope/borrow.md
@@ -41,7 +41,7 @@ fn main() {
41
// `_ref_to_i32` 离开作用域且不再被借用。
42
}
43
44
- // `boxed_i32` 现在可以将所有权交给 `eat_i32` 并被销毁。
+ // `boxed_i32` 现在可以将所有权交给 `eat_box_i32` 并被销毁。
45
//(译注:能够销毁是因为已经不存在对 `boxed_i32` 的引用)
46
eat_box_i32(boxed_i32);
47
0 commit comments