Skip to content

Commit 1462eda

Browse files
dingxiangfei2009ehuss
authored andcommitted
const item can reference immutable statics
1 parent 703e3d4 commit 1462eda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/const_eval.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ to be run.
2323
* [Const parameters].
2424
* [Paths] to [functions] and [constants].
2525
Recursively defining constants is not allowed.
26-
* Paths to [statics]. These are only allowed within the initializer of a static.
26+
* Paths to immutable [statics].
2727
* [Tuple expressions].
2828
* [Array expressions].
2929
* [Struct] expressions.

0 commit comments

Comments
 (0)