Skip to content

Commit

Permalink
Merge pull request rust-lang#267 from brauliobz/little_fix
Browse files Browse the repository at this point in the history
Fixed non-escaped *s in grammar
  • Loading branch information
matthewjasper authored Mar 29, 2018
2 parents f298be6 + 89a49cd commit 19dd3dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/expressions/match-expr.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
> &nbsp;&nbsp; [_OuterAttribute_]<sup>\*</sup> _MatchArmPatterns_ _MatchArmGuard_<sup>?</sup>
>
> _MatchArmPatterns_ :
> &nbsp;&nbsp; `|`<sup>?</sup> _Pattern_ ( `|` _Pattern_ )<sup>*</sup>
> &nbsp;&nbsp; `|`<sup>?</sup> _Pattern_ ( `|` _Pattern_ )<sup>\*</sup>
>
> _MatchArmGuard_ :
> &nbsp;&nbsp; `if` [_Expression_]
Expand Down Expand Up @@ -183,4 +183,3 @@ let message = match maybe_digit {
[numeric types]: types.html#numeric-types
[_InnerAttribute_]: attributes.html
[_OuterAttribute_]: attributes.html
[range]: expressions/range-expr.html
2 changes: 1 addition & 1 deletion src/items/use-declarations.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
>
> _UseTree_ :
> &nbsp;&nbsp; &nbsp;&nbsp; ([_SimplePath_]<sup>?</sup> `::`)<sup>?</sup> `*`
> &nbsp;&nbsp; | ([_SimplePath_]<sup>?</sup> `::`)<sup>?</sup> `{` (_UseTree_ ( `,` _UseTree_ )<sup>*</sup> `,`<sup>?</sup>)<sup>?</sup> `}`
> &nbsp;&nbsp; | ([_SimplePath_]<sup>?</sup> `::`)<sup>?</sup> `{` (_UseTree_ ( `,` _UseTree_ )<sup>\*</sup> `,`<sup>?</sup>)<sup>?</sup> `}`
> &nbsp;&nbsp; | [_SimplePath_] `as` [IDENTIFIER]
A _use declaration_ creates one or more local name bindings synonymous with
Expand Down

0 comments on commit 19dd3dd

Please sign in to comment.