about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2020-03-31 15:59:44 +0200
committerGitHub <noreply@github.com>2020-03-31 15:59:44 +0200
commit38cd294ed5a90036d570b663e7bcdf8dd0fd775f (patch)
treecb0dcdad404a47a0daaffc4ed67c8899395a40ce /src
parent65b85a571e627da13a20c88005d191602d2374e8 (diff)
parentd6f71f0c9a609add86a4eff8060aa9c1d74c1d71 (diff)
downloadrust-38cd294ed5a90036d570b663e7bcdf8dd0fd775f.tar.gz
rust-38cd294ed5a90036d570b663e7bcdf8dd0fd775f.zip
Rollup merge of #70561 - tshepang:obsolete-comment, r=petrochenkov
remove obsolete comment

Made obsolete by b5e35b128efeed4bfdb4b1ee9d0697389ec9f164
Diffstat (limited to 'src')
-rw-r--r--src/librustc_parse/lexer/mod.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/librustc_parse/lexer/mod.rs b/src/librustc_parse/lexer/mod.rs
index ac58cbb9e8d..c7ea10ec812 100644
--- a/src/librustc_parse/lexer/mod.rs
+++ b/src/librustc_parse/lexer/mod.rs
@@ -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];