Skip to content

Commit 7d8faec

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

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
@@ -9,7 +9,7 @@ can be evaluated at compile-time.
99
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
12-
in [`let` statements](statements.html#let-statements), constant expressions are
12+
[`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);
1515
otherwise they are just warnings, but the code will most likely panic when run.

0 commit comments

Comments
 (0)