Skip to content

Commit

Permalink
Merge pull request #1861 from Makonede/patch-1
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
marioidival authored Jun 12, 2024
2 parents d45c1d3 + 120b5ff commit 6b93dff
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_32` and be destroyed
// `boxed_i32` can now give up ownership to `eat_box_i32` and be destroyed
eat_box_i32(boxed_i32);
}
```

0 comments on commit 6b93dff

Please sign in to comment.