Update src/stability.md
Co-Authored-By: Jake Goulding <shepmaster@mac.com>
This commit is contained in:
parent
36a12389b2
commit
5534a34e4d
|
|
@ -22,7 +22,7 @@ Note that stable functions may use unstable things in their body.
|
||||||
# allow_internal_unstable
|
# allow_internal_unstable
|
||||||
|
|
||||||
Macros, compiler desugarings and `const fn`s expose their bodies to the call site. In order to
|
Macros, compiler desugarings and `const fn`s expose their bodies to the call site. In order to
|
||||||
work around not being able to use unstable things in the standard libraries macros, there's the
|
work around not being able to use unstable things in the standard library's macros, there's the
|
||||||
`#[allow_internal_unstable(feature1, feature2)]` attribute that whitelists the given features for
|
`#[allow_internal_unstable(feature1, feature2)]` attribute that whitelists the given features for
|
||||||
usage in stable macros or `const fn`s.
|
usage in stable macros or `const fn`s.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue