Skip to content

Commit

Permalink
Merge pull request rust-lang#733 from lebensterben/patch-1
Browse files Browse the repository at this point in the history
Fix typo in macros-by-example.md
  • Loading branch information
Centril authored Dec 22, 2019
2 parents b5e8cfb + bdf9fd1 commit e115753
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/macros-by-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ compiler knows how to expand them properly:
`=> { $( $i );* }` is correct and replaces a comma-separated list of
identifiers with a semicolon-separated list.
1. Second, each repetition in the transcriber must contain at least one
metavariable to decide now many times to expand it. If multiple
metavariable to decide how many times to expand it. If multiple
metavariables appear in the same repetition, they must be bound to the same
number of fragments. For instance, `( $( $i:ident ),* ; $( $j:ident ),* ) =>
( $( ($i,$j) ),*` must bind the same number of `$i` fragments as `$j`
Expand Down

0 comments on commit e115753

Please sign in to comment.