mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-30 04:56:25 +03:00
Rollup merge of #70561 - tshepang:obsolete-comment, r=petrochenkov
remove obsolete comment
Made obsolete by b5e35b128e
This commit is contained in:
@@ -93,9 +93,6 @@ fn mk_sp(&self, lo: BytePos, hi: BytePos) -> Span {
|
||||
}
|
||||
|
||||
/// 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];
|
||||
|
||||
Reference in New Issue
Block a user