File tree 1 file changed +2
-3
lines changed
src/libsyntax/parse/lexer
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -60,11 +60,11 @@ pub struct StringReader<'a> {
60
60
// cache a direct reference to the source text, so that we don't have to
61
61
// retrieve it via `self.source_file.src.as_ref().unwrap()` all the time.
62
62
src : Lrc < String > ,
63
- /// Stack of open delimiters and their spans. Used for error message.
64
63
token : token:: Token ,
65
64
span : Span ,
66
65
/// The raw source span which *does not* take `override_span` into account
67
66
span_src_raw : Span ,
67
+ /// Stack of open delimiters and their spans. Used for error message.
68
68
open_braces : Vec < ( token:: DelimToken , Span ) > ,
69
69
/// The type and spans for all braces
70
70
///
@@ -506,8 +506,7 @@ impl<'a> StringReader<'a> {
506
506
}
507
507
}
508
508
509
- /// Advance the StringReader by one character. If a newline is
510
- /// discovered, add it to the SourceFile's list of line start offsets.
509
+ /// Advance the StringReader by one character.
511
510
crate fn bump ( & mut self ) {
512
511
let next_src_index = self . src_index ( self . next_pos ) ;
513
512
if next_src_index < self . end_src_index {
You can’t perform that action at this time.
0 commit comments