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 30, 2020
2 parents 52ddd32 + d6f71f0 commit 13f6f8a
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 13f6f8a

Please sign in to comment.