File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -86,26 +86,26 @@ r[attributes.codegen.no_builtins]
86
86
## The ` no_builtins ` attribute
87
87
88
88
r[ attributes.codegen.no_builtins.intro]
89
- The * ` no_builtins ` [ attribute] * disables optimizing certain code patterns to invocations of library functions that are assumed to exist.
89
+ The * ` no_builtins ` [ attribute] * disables optimization of certain code patterns related to calls to library functions that are assumed to exist.
90
90
91
- <!-- TODO: This needs expanding, see https://github.com/rust-lang/reference/issues/542 -->
91
+ <!-- TODO: This needs expanding, see < https://github.com/rust-lang/reference/issues/542>. -->
92
92
93
93
> [ !EXAMPLE]
94
94
> ``` rust
95
95
> #![no_builtins]
96
96
> ```
97
97
98
98
r [attributes . codegen. no_builtins. syntax]
99
- The `no_builtins ` attribute uses the [MetaWord ] syntax and thus does not take any inputs .
99
+ The `no_builtins ` attribute uses the [MetaWord ] syntax .
100
100
101
101
r [attributes . codegen. no_builtins. allowed- positions ]
102
102
The `no_builtins ` attribute can only be applied to the crate root .
103
103
104
104
r [attributes . codegen. no_builtins. duplicates]
105
- Duplicate instances of the `no_builtins ` attribute have no effect .
105
+ Only the first use of the `no_builtins` attribute has effect.
106
106
107
107
> [! NOTE ]
108
- > `rustc ` currently warns on subsequent duplicate ` no_builtins ` attributes .
108
+ > `rustc` currently lints against uses following the first .
109
109
110
110
r[attributes. codegen. target_feature]
111
111
## The `target_feature` attribute
You can’t perform that action at this time.
0 commit comments