diff options
| author | Igor Matuszewski <Xanewok@gmail.com> | 2019-06-09 14:20:29 +0200 |
|---|---|---|
| committer | Igor Matuszewski <Xanewok@gmail.com> | 2019-06-09 14:20:29 +0200 |
| commit | 3c1d352dc4a66cae9127cf677ec5e609aee1b7ae (patch) | |
| tree | 5c5071d8553b3be28f87126fffef3868eb9b8b1f /src/libsyntax/parse | |
| parent | 8cd51fff827ab4892382170f7ef6c3379c614260 (diff) | |
| download | rust-3c1d352dc4a66cae9127cf677ec5e609aee1b7ae.tar.gz rust-3c1d352dc4a66cae9127cf677ec5e609aee1b7ae.zip | |
Add a doc comment for scan_raw_string
Diffstat (limited to 'src/libsyntax/parse')
| -rw-r--r-- | src/libsyntax/parse/lexer/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libsyntax/parse/lexer/mod.rs b/src/libsyntax/parse/lexer/mod.rs index 71fa4bdb2cf..7f190bd7410 100644 --- a/src/libsyntax/parse/lexer/mod.rs +++ b/src/libsyntax/parse/lexer/mod.rs @@ -1242,6 +1242,8 @@ impl<'a> StringReader<'a> { id } + /// Scans a raw (byte) string, returning byte position range for `"<literal>"` + /// (including quotes) along with `#` character count in `(b)r##..."<literal>"##...`; fn scan_raw_string(&mut self) -> (BytePos, BytePos, u16) { let start_bpos = self.pos; self.bump(); |
