Skip to content

Commit 7e0d242

Browse files
authored
Update borrow.md (#178)
1 parent 8a071c6 commit 7e0d242

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
@@ -41,7 +41,7 @@ fn main() {
4141
// `_ref_to_i32` 离开作用域且不再被借用。
4242
}
4343
44-
// `boxed_i32` 现在可以将所有权交给 `eat_i32` 并被销毁。
44+
// `boxed_i32` 现在可以将所有权交给 `eat_box_i32` 并被销毁。
4545
//(译注:能够销毁是因为已经不存在对 `boxed_i32` 的引用)
4646
eat_box_i32(boxed_i32);
4747
}

0 commit comments

Comments
 (0)