Skip to content

Commit 38315fb

Browse files
committed
Merge pull request #4460 from pkgw/pr-tut-typo
doc: Fix spelling error in macro tutorial
2 parents 802d475 + e457144 commit 38315fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/tutorial-macros.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ to transcribe into the macro expansion; its type need not be repeated.
115115
The right-hand side must be enclosed by delimiters, which are ignored by the
116116
transcriber (therefore `() => ((1,2,3))` is a macro that expands to a tuple
117117
expression, `() => (let $x=$val)` is a macro that expands to a statement, and
118-
`() => (1,2,3)` is a macro that expands to a syntax errror).
118+
`() => (1,2,3)` is a macro that expands to a syntax error).
119119

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

0 commit comments

Comments
 (0)