Skip to content

Commit 18002ae

Browse files
committed
f
1 parent f5c4238 commit 18002ae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

draft-rfcs/const-evaluatable-checked.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ TODO: All of this :)
44

55
## Requirements
66

7-
For this to work, const operations have to be both pure and deterministic,
7+
For this to work, const operations have to be deterministic and
8+
must not depend on any external state,
89
at least when they are used in the type system.
910

1011
Using floats during CTFE is fully determinstic. So using

0 commit comments

Comments
 (0)