diff options
| author | bors <bors@rust-lang.org> | 2014-09-04 18:30:59 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-09-04 18:30:59 +0000 |
| commit | d3e7922ddd5f2abfa4d5139e8bca5fab3e796f33 (patch) | |
| tree | 1b6d41765ea51745549db326611a726287f20958 /src/libsyntax/parse | |
| parent | bef51ba234a42c52939bcb0f8a5deb7c345d8eba (diff) | |
| parent | b7bfe04b2d003d08f6ac450f41d7f221cb87f129 (diff) | |
| download | rust-d3e7922ddd5f2abfa4d5139e8bca5fab3e796f33.tar.gz rust-d3e7922ddd5f2abfa4d5139e8bca5fab3e796f33.zip | |
auto merge of #16982 : jbcrail/rust/comment-and-string-corrections, r=alexcrichton
I corrected spelling and capitalization errors in comments and strings.
Diffstat (limited to 'src/libsyntax/parse')
| -rw-r--r-- | src/libsyntax/parse/lexer/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/lexer/mod.rs b/src/libsyntax/parse/lexer/mod.rs index 17249628989..da43f08a4e5 100644 --- a/src/libsyntax/parse/lexer/mod.rs +++ b/src/libsyntax/parse/lexer/mod.rs @@ -1114,7 +1114,7 @@ impl<'a> StringReader<'a> { self.bump(); valid &= self.scan_char_or_byte(ch_start, ch, /* ascii_only = */ false, '"'); } - // adjust for the ACSII " at the start of the literal + // adjust for the ASCII " at the start of the literal let id = if valid { self.name_from(start_bpos + BytePos(1)) } else { token::intern("??") }; self.bump(); |
