Skip to content

Commit 3d2823d

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

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
@@ -12,7 +12,7 @@ expressions, and are always evaluated at compile time. In other places, such as
1212
[`let` statements](statements.html#let-statements), constant expressions are
1313
Errors 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);
15-
otherwise they are just warnings, but the code will most likely panic when run.
15+
Otherwise, these behaviors are warnings, but will likely panic at run-time.
1616

1717
The following expressions are constant expressions, so long as any operands are
1818
also constant expressions and do not cause any [`Drop::drop`][destructors] calls

0 commit comments

Comments
 (0)