Add a doc comment for scan_raw_string

This commit is contained in:
Igor Matuszewski 2019-06-09 14:20:29 +02:00
parent 8cd51fff82
commit 3c1d352dc4

View file

@ -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();