Skip to content

Commit 213b96f

Browse files
authored
Merge pull request #57 from LingMan/patch-1
Fix typo in promotion.md
2 parents 6f3125a + d1e681f commit 213b96f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

promotion.md

+1-1
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)