Skip to content

Commit 666907b

Browse files
committed
Revise following sentence about eval outside of const
The changes to the sentence before this one make the lack of clarity of this sentence stand out more, so let's improve the clarity of this sentence about evaluation of constant expressions outside of a const context.
1 parent 5db0af7 commit 666907b

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
@@ -20,7 +20,7 @@ r[const-eval.const-expr.evaluation]
2020
Expressions in const contexts are always evaluated at compile time.
2121

2222
r[const-eval.const-expr.runtime-context]
23-
In other places, such as [let statements], constant expressions *may* be, but are not guaranteed to be, evaluated at compile time.
23+
Outside of const contexts, constant expressions *may* be, but are not guaranteed to be, evaluated at compile time.
2424

2525
r[const-eval.const-expr.error]
2626
Behaviors such as out of bounds [array indexing] or [overflow] are compiler errors if the value

0 commit comments

Comments
 (0)