Skip to content

Commit 9b1c9c6

Browse files
authored
Update "Match Expressions" to remove 'cold'
1 parent 8e36971 commit 9b1c9c6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/expressions/match-expr.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ Moreover, by holding a shared reference while evaluating the guard, mutation ins
125125
## Attributes on match arms
126126
127127
Outer attributes are allowed on match arms.
128-
The only attributes that have meaning on match arms are [`cfg`], [`cold`], and the [lint check attributes].
128+
The only attributes that have meaning on match arms are [`cfg`] and the [lint check attributes].
129129
130130
[Inner attributes] are allowed directly after the opening brace of the match expression in the same expression contexts as [attributes on block expressions].
131131
@@ -135,7 +135,6 @@ The only attributes that have meaning on match arms are [`cfg`], [`cold`], and t
135135
[_InnerAttribute_]: ../attributes.md
136136
[_OuterAttribute_]: ../attributes.md
137137
[`cfg`]: ../conditional-compilation.md
138-
[`cold`]: ../attributes/codegen.md#the-cold-attribute
139138
[lint check attributes]: ../attributes/diagnostics.md#lint-check-attributes
140139
[Range Expression]: range-expr.md
141140

0 commit comments

Comments
 (0)