feature: fix typo in attribute description
The force inlining attribute isn't is never used with `#![..]` attribute syntax, only `#[..]` syntax.
This commit is contained in:
parent
ad27045c31
commit
1ee134f10d
3 changed files with 5 additions and 5 deletions
|
@ -1011,7 +1011,7 @@ pub static BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[
|
|||
),
|
||||
rustc_attr!(
|
||||
rustc_force_inline, Normal, template!(Word, NameValueStr: "reason"), WarnFollowing, EncodeCrossCrate::Yes,
|
||||
"#![rustc_force_inline] forces a free function to be inlined"
|
||||
"#[rustc_force_inline] forces a free function to be inlined"
|
||||
),
|
||||
|
||||
// ==========================================================================
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue