We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 46c5c6c + 22ce98d commit dc3b3afCopy full SHA for dc3b3af
src/doc/book/references-and-borrowing.md
@@ -240,7 +240,7 @@ fn main() {
240
241
In other words, the mutable borrow is held through the rest of our example. What
242
we want is for the mutable borrow by `y` to end so that the resource can be
243
-returned to the owner, `x`. `x` can then provide a immutable borrow to `println!`.
+returned to the owner, `x`. `x` can then provide an immutable borrow to `println!`.
244
In Rust, borrowing is tied to the scope that the borrow is valid for. And our
245
scopes look like this:
246
0 commit comments