Skip to content

Commit

Permalink
doc: Fix spelling error in macro tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
pkgw committed Jan 12, 2013
1 parent 802d475 commit e457144
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/tutorial-macros.md
Expand Up @@ -115,7 +115,7 @@ to transcribe into the macro expansion; its type need not be repeated.
The right-hand side must be enclosed by delimiters, which are ignored by the
transcriber (therefore `() => ((1,2,3))` is a macro that expands to a tuple
expression, `() => (let $x=$val)` is a macro that expands to a statement, and
`() => (1,2,3)` is a macro that expands to a syntax errror).
`() => (1,2,3)` is a macro that expands to a syntax error).

Except for permissibility of `$name` (and `$(...)*`, discussed below), the
right-hand side of a macro definition is ordinary Rust syntax. In particular,
Expand Down

0 comments on commit e457144

Please sign in to comment.