]> git.lizzy.rs Git - rust.git/commitdiff
Remove super old comment on function that parses items
authorDavid Tolnay <dtolnay@gmail.com>
Wed, 22 Aug 2018 01:46:56 +0000 (21:46 -0400)
committerDavid Tolnay <dtolnay@gmail.com>
Wed, 22 Aug 2018 01:50:34 +0000 (21:50 -0400)
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.

src/libsyntax/parse/parser.rs

index 5467bab33f90dce786bac049579fb585c2fd7bde..d7f339a6942f96ed6ea9b32554884dab67273c1d 100644 (file)
@@ -6842,8 +6842,6 @@ fn parse_item_(
     }
 
     /// 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>,