Skip to content

Commit 2c733c9

Browse files
Monadic-CatJoshua Nelson
authored and
Joshua Nelson
committed
correct attribute used here
1 parent 434556f commit 2c733c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stability.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ there's no way to add `const` to functions in `extern` blocks for now.
6262

6363
## rustc_const_stable
6464

65-
The `#[stable(feature = "foo", "since = "1.420.69")]` attribute explicitly marks
65+
The `#[rustc_const_stable(feature = "foo", "since = "1.420.69")]` attribute explicitly marks
6666
a `const fn` as having its constness be `stable`. This attribute can make sense
6767
even on an `unstable` function, if that function is called from another
6868
`rustc_const_stable` function.

0 commit comments

Comments
 (0)