We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c89075d commit c233d4dCopy full SHA for c233d4d
text/0000-inline-const.md
@@ -310,7 +310,7 @@ consists of a single expression. This is analagous to the single expression
310
variant of closures: `|| 42`. This is backwards compatible with the current proposal.
311
312
Eventually, I would like to try making any expression that could possibly panic
313
-inelgible for implicit promotion. This includes *all* `const fn` calls as well
+ineligible for implicit promotion. This includes *all* `const fn` calls as well
314
as all arithmetic expressions (e.g., `&(0u32 - 1)`), which currently work due
315
to [the way MIR is lowered][arith-assert]. Even though bitwise operators can
316
never panic, I would also stop promoting them to be consistent. This would
0 commit comments