We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d59933 commit c29a98eCopy full SHA for c29a98e
src/libsyntax/parse/lexer/mod.rs
@@ -446,9 +446,7 @@ impl<'a> StringReader<'a> {
446
self.with_str_from_to(start, self.pos, f)
447
}
448
449
- /// Creates a Name from a given offset to the current offset, each
450
- /// adjusted 1 towards each other (assumes that on either side there is a
451
- /// single-byte delimiter).
+ /// Creates a Name from a given offset to the current offset.
452
fn name_from(&self, start: BytePos) -> ast::Name {
453
debug!("taking an ident from {:?} to {:?}", start, self.pos);
454
self.with_str_from(start, Symbol::intern)
0 commit comments