File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -24,9 +24,9 @@ to be run.
24
24
* [ Paths] to [ functions] and [ constants] .
25
25
Recursively defining constants is not allowed.
26
26
* Paths to immutable [ statics] with these restrictions and observations.
27
- * In particular, reads and writes to ` static mut ` are not allowed.
28
- * Reads out of and writes into a ` static ` with data equipped with interior mutability are not allowed.
29
- * Reads out of and writes into [ ` extern ` statics ] are not allowed .
27
+ * In particular, reads and writes to any ` static ` , ` static mut` or [ ` extern ` statics ] is not allowed.
28
+ * Immutable borrows and pointers into immutable part of a ` static ` are allowed and observes the same restriction
29
+ on all other forms of [ borrow ] s as mentioned below .
30
30
* [ Tuple expressions] .
31
31
* [ Array expressions] .
32
32
* [ Struct] expressions.
You can’t perform that action at this time.
0 commit comments