]> git.lizzy.rs Git - rust.git/commitdiff
Remove irrelevant comment
authorHuon Wilson <dbau.pp+github@gmail.com>
Wed, 6 Jan 2016 01:28:34 +0000 (12:28 +1100)
committerHuon Wilson <dbau.pp+github@gmail.com>
Wed, 6 Jan 2016 01:28:34 +0000 (12:28 +1100)
The fundamental problem of duplication was fixed in https://github.com/rust-lang/rust/pull/10891, but the comment was preserved. Closes https://github.com/rust-lang/rust/issues/9762.

src/libsyntax/parse/token.rs

index b942954c1874af963453d1b81050d3365d0c76ce..242626154fc8c4066ff0c617f3bd277274aad598 100644 (file)
@@ -495,9 +495,6 @@ pub fn to_name(&self) -> ast::Name {
     }
 
     fn mk_fresh_ident_interner() -> IdentInterner {
-        // The indices here must correspond to the numbers in
-        // special_idents, in Keyword to_name(), and in static
-        // constants below.
         let mut init_vec = Vec::new();
         $(init_vec.push($si_str);)*
         $(init_vec.push($sk_str);)*