correct attribute used here

This commit is contained in:
Monadic Cat 2020-09-12 17:06:58 -05:00 committed by Joshua Nelson
parent 434556f9e0
commit 2c733c97e8
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ there's no way to add `const` to functions in `extern` blocks for now.
## rustc_const_stable ## rustc_const_stable
The `#[stable(feature = "foo", "since = "1.420.69")]` attribute explicitly marks The `#[rustc_const_stable(feature = "foo", "since = "1.420.69")]` attribute explicitly marks
a `const fn` as having its constness be `stable`. This attribute can make sense a `const fn` as having its constness be `stable`. This attribute can make sense
even on an `unstable` function, if that function is called from another even on an `unstable` function, if that function is called from another
`rustc_const_stable` function. `rustc_const_stable` function.