Skip to content

Commit 4233cbd

Browse files
committed
Auto merge of #25849 - reinh:patch-1, r=huonw
Thanks for the awesome book! r? @steveklabnik
2 parents 4f66d88 + 23ec007 commit 4233cbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/trpl/references-and-borrowing.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ fn main() {
206206
^
207207
```
208208

209-
In other words, the mutable borow is held through the rest of our example. What
209+
In other words, the mutable borrow is held through the rest of our example. What
210210
we want is for the mutable borrow to end _before_ we try to call `println!` and
211211
make an immutable borrow. In Rust, borrowing is tied to the scope that the
212212
borrow is valid for. And our scopes look like this:

0 commit comments

Comments
 (0)