remove obsolete and incorrect comment

This commit is contained in:
Aleksey Kladov 2019-04-23 00:03:57 +03:00
parent 6d599337fa
commit c29a98e40d

View File

@ -446,9 +446,7 @@ impl<'a> StringReader<'a> {
self.with_str_from_to(start, self.pos, f)
}
/// Creates a Name from a given offset to the current offset, each
/// adjusted 1 towards each other (assumes that on either side there is a
/// single-byte delimiter).
/// Creates a Name from a given offset to the current offset.
fn name_from(&self, start: BytePos) -> ast::Name {
debug!("taking an ident from {:?} to {:?}", start, self.pos);
self.with_str_from(start, Symbol::intern)