Skip to content

Commit c29a98e

Browse files
committed
remove obsolete and incorrect comment
1 parent 6d59933 commit c29a98e

File tree

1 file changed

+1
-3
lines changed
  • src/libsyntax/parse/lexer

1 file changed

+1
-3
lines changed

src/libsyntax/parse/lexer/mod.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -446,9 +446,7 @@ impl<'a> StringReader<'a> {
446446
self.with_str_from_to(start, self.pos, f)
447447
}
448448

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).
449+
/// Creates a Name from a given offset to the current offset.
452450
fn name_from(&self, start: BytePos) -> ast::Name {
453451
debug!("taking an ident from {:?} to {:?}", start, self.pos);
454452
self.with_str_from(start, Symbol::intern)

0 commit comments

Comments
 (0)