Skip to content

Commit fffb9cc

Browse files
committed
Remove attributes from struct field rest patterns
rustc never properly supported attributes in this position so this just removes them entirely. See rustc change at: rust-lang/rust#136490
1 parent 8c20f77 commit fffb9cc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/patterns.md

-1
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,6 @@ r[patterns.struct.syntax]
713713
>    )
714714
>
715715
> _StructPatternEtCetera_ :\
716-
> &nbsp;&nbsp; [_OuterAttribute_] <sup>\*</sup>\
717716
> &nbsp;&nbsp; `..`
718717
719718
[_OuterAttribute_]: attributes.md

0 commit comments

Comments
 (0)