doc: Fix spelling error in macro tutorial

This commit is contained in:
Peter Williams 2012-12-30 11:49:08 -05:00
parent 802d475190
commit e4571446f9
1 changed files with 1 additions and 1 deletions

View File

@ -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,