Skip to content

Commit

Permalink
Merge pull request #1814 from YangFong/patch-1
Browse files Browse the repository at this point in the history
Update borrow.md
  • Loading branch information
marioidival authored Feb 7, 2024
2 parents e46c7b9 + df7effd commit 512d3f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scope/borrow.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ fn main() {
// `_ref_to_i32` goes out of scope and is no longer borrowed.
}
// `boxed_i32` can now give up ownership to `eat_box` and be destroyed
// `boxed_i32` can now give up ownership to `eat_box_32` and be destroyed
eat_box_i32(boxed_i32);
}
```

0 comments on commit 512d3f8

Please sign in to comment.