about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorDavid Tolnay <dtolnay@gmail.com>2018-08-21 21:46:56 -0400
committerDavid Tolnay <dtolnay@gmail.com>2018-08-21 21:50:34 -0400
commitcf1b6d6fe87b01f556d49372d1c988c7cc686057 (patch)
treee219b5518e7a2de936edc582615477d16c6694fa /src/libsyntax/parse
parent1cbf339626e52e1e66a6df3097051bb981bfa964 (diff)
downloadrust-cf1b6d6fe87b01f556d49372d1c988c7cc686057.tar.gz
rust-cf1b6d6fe87b01f556d49372d1c988c7cc686057.zip
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 5467bab33f9..d7f339a6942 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -6842,8 +6842,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>,