Rollup merge of #70561 - tshepang:obsolete-comment, r=petrochenkov

remove obsolete comment

Made obsolete by b5e35b128e
This commit is contained in:
Mazdak Farrokhzad 2020-03-31 15:59:44 +02:00 committed by GitHub
commit 38cd294ed5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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];