From e4571446f99ddb45667c925d6e4d2c76e0ff1ee8 Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Sun, 30 Dec 2012 11:49:08 -0500 Subject: [PATCH] doc: Fix spelling error in macro tutorial --- doc/tutorial-macros.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/tutorial-macros.md b/doc/tutorial-macros.md index af1f9ceb92450..d1dd14a6d0a8b 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,