Skip to content

Commit b2f62ac

Browse files
committed
auto merge of #10167 : briantdawn/rust/master, r=cmr
To keep consistency with the word "borrowing" I suppose an alternate way to write this could be "Having an object borrow an immutable pointer freezes it and prevents mutation".
2 parents e976de3 + 986fb3c commit b2f62ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/tutorial.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1142,7 +1142,7 @@ For a more in-depth explanation of borrowed pointers, read the
11421142
11431143
## Freezing
11441144
1145-
Borrowing an immutable pointer to an object freezes it and prevents mutation.
1145+
Lending an immutable pointer to an object freezes it and prevents mutation.
11461146
`Owned` objects have freezing enforced statically at compile-time.
11471147
11481148
~~~~

0 commit comments

Comments
 (0)