about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorAlexander Regueiro <alexreg@me.com>2018-02-01 03:57:51 +0000
committerWho? Me?! <mark-i-m@users.noreply.github.com>2018-02-01 11:03:07 -0600
commit0d2e27c3d03fd58a026ab2fb2fd099559d0f458c (patch)
tree8eb38b483e26da88260a88031ad3cb11b9a2bc58 /src/doc/rustc-dev-guide
parentf4a835250105c09b3901a35562aef86aac7e7e65 (diff)
downloadrust-0d2e27c3d03fd58a026ab2fb2fd099559d0f458c.tar.gz
rust-0d2e27c3d03fd58a026ab2fb2fd099559d0f458c.zip
minor grammatical fixes
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/macro-expansion.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/doc/rustc-dev-guide/src/macro-expansion.md b/src/doc/rustc-dev-guide/src/macro-expansion.md
index 55a550b56e8..a43c0939452 100644
--- a/src/doc/rustc-dev-guide/src/macro-expansion.md
+++ b/src/doc/rustc-dev-guide/src/macro-expansion.md
@@ -134,8 +134,9 @@ it calls back to the normal Rust parser to get the contents of that
 non-terminal. In this case, the Rust parser would look for an `ident` token,
 which it finds (`foo`) and returns to the macro parser. Then, the macro parser
 proceeds in parsing as normal. Also, note that exactly one of the matchers from
-the various arms should match the invocation (otherwise, the macro is
-ambiguous).
+the various arms should match the invocation; if there is more than one match,
+the parse is ambiguous, while if there are no matches at all, there is a syntax
+error.
 
 For more information about the macro parser's implementation, see the comments
 in [`src/libsyntax/ext/tt/macro_parser.rs`][code_mp].