Skip to content

Commit a7be9dd

Browse files
Centrilchriskrycho
andauthored
Update src/const_eval.md
Co-Authored-By: chriskrycho <hello@chriskrycho.com>
1 parent 3aa5809 commit a7be9dd

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
@@ -10,7 +10,7 @@ Certain forms of expressions, called constant expressions, can be evaluated at
1010
compile time. In [const contexts](#const-context), these are the only allowed
1111
expressions, and are always evaluated at compile time. In other places, such as
1212
[`let` statements](statements.html#let-statements), constant expressions are
13-
Errors such as out of bounds [array indexing] or [overflow] are compiler errors
13+
Behaviors such as out of bounds [array indexing] or [overflow] are compiler errors
1414
if the value must be evaluated at compile time (i.e. in const contexts).
1515
Otherwise, these behaviors are warnings, but will likely panic at run-time.
1616

0 commit comments

Comments
 (0)