Skip to content

Commit e4833e4

Browse files
kkliboehuss
authored andcommitted
disambiguate sentence
The phrase 'may not' could mean 'might not' or 'is not allowed to'.
1 parent 5ae4a38 commit e4833e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types/closure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ let z = &x;
106106

107107
In this case, borrowing `x` mutably is not possible, because `x` is not `mut`.
108108
But at the same time, borrowing `x` immutably would make the assignment illegal,
109-
because a `& &mut` reference may not be unique, so it cannot safely be used to
109+
because a `& &mut` reference might not be unique, so it cannot safely be used to
110110
modify a value. So a unique immutable borrow is used: it borrows `x` immutably,
111111
but like a mutable borrow, it must be unique. In the above example, uncommenting
112112
the declaration of `y` will produce an error because it would violate the

0 commit comments

Comments
 (0)