Skip to content

Commit

Permalink
Rollup merge of #70561 - tshepang:obsolete-comment, r=petrochenkov
Browse files Browse the repository at this point in the history
remove obsolete comment

Made obsolete by b5e35b1
  • Loading branch information
Centril authored Mar 31, 2020
2 parents 65b85a5 + d6f71f0 commit 38cd294
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/librustc_parse/lexer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,6 @@ impl<'a> StringReader<'a> {
}

/// Returns the next token, including trivia like whitespace or comments.
///
/// `Err(())` means that some errors were encountered, which can be
/// retrieved using `buffer_fatal_errors`.
pub fn next_token(&mut self) -> Token {
let start_src_index = self.src_index(self.pos);
let text: &str = &self.src[start_src_index..self.end_src_index];
Expand Down

0 comments on commit 38cd294

Please sign in to comment.