Skip to content

Commit

Permalink
Fixed typos in inline code
Browse files Browse the repository at this point in the history
  • Loading branch information
YohDeadfall authored and jyn514 committed Jul 5, 2021
1 parent 33c1eff commit 60e2825
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/stability.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ prevents breaking dependencies by leveraging Cargo's lint capping.
[rustc bug]: https://github.com/rust-lang/rust/issues/15702

## stable
The `#[stable(feature = "foo", "since = "1.420.69")]` attribute explicitly
The `#[stable(feature = "foo", since = "1.420.69")]` attribute explicitly
marks an item as stabilized. Note that stable functions may use unstable things in their body.

## rustc_const_unstable
Expand All @@ -60,7 +60,7 @@ there's no way to add `const` to functions in `extern` blocks for now.

## rustc_const_stable

The `#[rustc_const_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
even on an `unstable` function, if that function is called from another
`rustc_const_stable` function.
Expand Down

0 comments on commit 60e2825

Please sign in to comment.