We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 366386c commit 03949f5Copy full SHA for 03949f5
src/librustc_borrowck/borrowck/README.md
@@ -347,7 +347,7 @@ ALIASABLE(*LV, MQ) // M-Deref-Unique
347
ALIASABLE(LV, MQ)
348
```
349
350
-### Checking mutability of immutable pointer types
+### Checking aliasability of immutable pointer types
351
352
Immutable pointer types like `&T` are aliasable, and hence can only be
353
borrowed immutably:
@@ -357,7 +357,7 @@ ALIASABLE(*LV, imm) // M-Deref-Borrowed-Imm
357
TYPE(LV) = &Ty
358
359
360
-### Checking mutability of mutable pointer types
+### Checking aliasability of mutable pointer types
361
362
`&mut T` can be frozen, so it is acceptable to borrow it as either imm or mut:
363
0 commit comments