You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/attributes/codegen.md
-9Lines changed: 0 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,15 +3,6 @@ r[attributes.codegen]
3
3
4
4
The following [attributes] are used for controlling code generation.
5
5
6
-
r[attributes.codegen.hint]
7
-
## Optimization hints
8
-
9
-
r[attributes.codegen.hint.cold-inline]
10
-
The `cold` and `inline`[attributes] give suggestions to generate code in a way that may be faster than what it would do without the hint. The attributes are only hints, and may be ignored.
11
-
12
-
r[attributes.codegen.hint.usage]
13
-
Both attributes can be used on [functions]. When applied to a function in a [trait], they apply only to that function when used as a default function for a trait implementation and not to all trait implementations. The attributes have no effect on a trait function without a body.
0 commit comments