Skip to content

Commit 25acdfa

Browse files
authored
Merge pull request #783 from Aaron1011/patch-1
Attributes are now allowed on `if` and `if let`
2 parents f8dce93 + 36b557c commit 25acdfa

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/expressions.md

-2
Original file line numberDiff line numberDiff line change
@@ -275,8 +275,6 @@ a few specific cases:
275275
<!-- Keep list in sync with block-expr.md -->
276276

277277
They are never allowed before:
278-
279-
* [`if`][_IfExpression_] and [`if let`][_IfLetExpression_] expressions.
280278
* [Range][_RangeExpression_] expressions.
281279
* Binary operator expressions ([_ArithmeticOrLogicalExpression_],
282280
[_ComparisonExpression_], [_LazyBooleanExpression_], [_TypeCastExpression_],

0 commit comments

Comments
 (0)