diff options
| author | Peter Williams <peter@newton.cx> | 2012-12-30 11:49:08 -0500 |
|---|---|---|
| committer | Peter Williams <peter@newton.cx> | 2013-01-12 18:36:46 -0500 |
| commit | e4571446f99ddb45667c925d6e4d2c76e0ff1ee8 (patch) | |
| tree | d8507d056130b4c9cd335d98a961649ce4be7ea8 | |
| parent | 802d4751903ba4913255a195f6aa9d582e3bb7f2 (diff) | |
| download | rust-e4571446f99ddb45667c925d6e4d2c76e0ff1ee8.tar.gz rust-e4571446f99ddb45667c925d6e4d2c76e0ff1ee8.zip | |
doc: Fix spelling error in macro tutorial
| -rw-r--r-- | doc/tutorial-macros.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/tutorial-macros.md b/doc/tutorial-macros.md index af1f9ceb924..d1dd14a6d0a 100644 --- a/doc/tutorial-macros.md +++ b/doc/tutorial-macros.md @@ -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, |
