Skip to content

Commit d1e681f

Browse files
authored
Fix typo in promotion.md
1 parent 6f3125a commit d1e681f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

promotion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Currently, non-`Copy` array initialization is treated as an implicit context,
6666
because the code could compile even without promotion (namely, if the result
6767
type is `Copy`).
6868

69-
CTFE of implicitly promoted code must never fail to evaluate except of the
69+
CTFE of implicitly promoted code must never fail to evaluate except if the
7070
run-time code also would have failed. This means we cannot permit calling
7171
arbitrary `const fn`, as we cannot predict if they are going to perform an
7272
["unconst" operation](const_safety.md). Thus, only functions marked

0 commit comments

Comments
 (0)