File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -23,9 +23,10 @@ to be run.
2323* [ Const parameters] .
2424* [ Paths] to [ functions] and [ constants] .
2525 Recursively defining constants is not allowed.
26- * Paths to immutable [ statics] .
27- * Reads of [ ` extern ` statics] are not allowed.
28- * Reads from and writes to a ` static ` with interior mutability are not allowed.
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.
2930* [ Tuple expressions] .
3031* [ Array expressions] .
3132* [ Struct] expressions.
You can’t perform that action at this time.
0 commit comments