@@ -424,7 +424,7 @@ the pointer itself `LV` goes out of scope:
424
424
```
425
425
426
426
The scope of a managed referent is also the scope of the pointer. This
427
- is a conservative approximation, since there may be other aliases fo
427
+ is a conservative approximation, since there may be other aliases for
428
428
that same managed box that would cause it to live longer:
429
429
430
430
```notrust
@@ -536,7 +536,7 @@ The final rules govern the computation of *restrictions*, meaning that
536
536
we compute the set of actions that will be illegal for the life of the
537
537
loan. The predicate is written `RESTRICTIONS(LV, LT, ACTIONS) =
538
538
RESTRICTION*`, which can be read "in order to prevent `ACTIONS` from
539
- occuring on `LV`, the restrictions `RESTRICTION*` must be respected
539
+ occurring on `LV`, the restrictions `RESTRICTION*` must be respected
540
540
for the lifetime of the loan".
541
541
542
542
Note that there is an initial set of restrictions: these restrictions
@@ -551,7 +551,7 @@ are computed based on the kind of borrow:
551
551
The reasoning here is that a mutable borrow must be the only writer,
552
552
therefore it prevents other writes (`MUTATE`), mutable borrows
553
553
(`CLAIM`), and immutable borrows (`FREEZE`). An immutable borrow
554
- permits other immutable borows but forbids writes and mutable borows.
554
+ permits other immutable borrows but forbids writes and mutable borows.
555
555
Finally, a const borrow just wants to be sure that the value is not
556
556
moved out from under it, so no actions are forbidden.
557
557
0 commit comments