Skip to content

Commit

Permalink
type type -> type
Browse files Browse the repository at this point in the history
  • Loading branch information
rofrol authored and Dylan-DPC committed Mar 5, 2019
1 parent cbdafa6 commit 417f199
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/src/tutorial/007_macros.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ an "optionally parse an `Expr` followed by a comma". Note the angle
brackets around `Expr`: these ensures that the value of the `(<Expr>
",")` is the value of the expression, and not a tuple of the
expression and the comma. This means that `(<Expr> ",")?` would have
the type type `Option<Box<Expr>>` (and not `Option<(Box<Expr>, &'input
the type `Option<Box<Expr>>` (and not `Option<(Box<Expr>, &'input
str)>`).

Using these operations we can define `Exprs` in terms of a macro
Expand Down

0 comments on commit 417f199

Please sign in to comment.