about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorWiktor Kuchta <wiktorkuchta@protonmail.com>2019-01-03 21:27:50 +0100
committerWiktor Kuchta <wiktorkuchta@protonmail.com>2019-01-03 21:33:37 +0100
commit190d139f3aa0613a8b639bae742561ff89c8fbc7 (patch)
tree764c4695c325898c6e85fc82a1af1f668e524caa /src/libsyntax
parentc0bbc3927e28c22edefe6a1353b5ecc95ea9a104 (diff)
downloadrust-190d139f3aa0613a8b639bae742561ff89c8fbc7.tar.gz
rust-190d139f3aa0613a8b639bae742561ff89c8fbc7.zip
Fix repeated word typos
Found with `git grep -P '\b([a-z]+)\s+\1\b'`
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/ext/tt/macro_parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ext/tt/macro_parser.rs b/src/libsyntax/ext/tt/macro_parser.rs
index 970796a2136..d55f785bd9b 100644
--- a/src/libsyntax/ext/tt/macro_parser.rs
+++ b/src/libsyntax/ext/tt/macro_parser.rs
@@ -161,7 +161,7 @@ struct MatcherPos<'root, 'tt: 'root> {
     /// The position of the "dot" in this matcher
     idx: usize,
 
-    /// The first span of source source that the beginning of this matcher corresponds to. In other
+    /// The first span of source that the beginning of this matcher corresponds to. In other
     /// words, the token in the source whose span is `sp_open` is matched against the first token of
     /// the matcher.
     sp_open: Span,