Skip to content

Commit

Permalink
remove obsolete comment
Browse files Browse the repository at this point in the history
Made obsolete by b5e35b1
  • Loading branch information
tshepang committed Mar 30, 2020
1 parent 8926bb4 commit d6f71f0
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 d6f71f0

Please sign in to comment.