about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2018-08-22 17:45:43 +0200
committerGitHub <noreply@github.com>2018-08-22 17:45:43 +0200
commitf012b4c84e9b44b48510712be0ce64cc964b352a (patch)
treed51f33066ea8afdad3f9e559f93a8e53d33189c9 /src/libsyntax/parse
parent4f78a2d58f234b8e73743834eafee01168ed3767 (diff)
parentcf1b6d6fe87b01f556d49372d1c988c7cc686057 (diff)
downloadrust-f012b4c84e9b44b48510712be0ce64cc964b352a.tar.gz
rust-f012b4c84e9b44b48510712be0ce64cc964b352a.zip
Rollup merge of #53585 - dtolnay:comment, r=Mark-Simulacrum
Remove super old comment on function that parses items

This comment was added more than 5 years ago in ab03c1e4221. As far as anyone reading this comment today needs to know, the function has never parsed items from inside an extern crate.
Diffstat (limited to 'src/libsyntax/parse')
-rw-r--r--src/libsyntax/parse/parser.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index ea353f2a721..e85b5dca2b7 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -6843,8 +6843,6 @@ impl<'a> Parser<'a> {
     }
 
     /// Parse one of the items allowed by the flags.
-    /// NB: this function no longer parses the items inside an
-    /// extern crate.
     fn parse_item_implementation(
         &mut self,
         attrs: Vec<Attribute>,