1
Fork 0

remove get_ident and get_name, make as_str sound

This commit is contained in:
Oliver Schneider 2015-07-28 18:07:20 +02:00
parent 9ca511cf63
commit 00a5e66f81
68 changed files with 433 additions and 534 deletions

View file

@ -160,8 +160,7 @@ impl fold::Folder for PreludeInjector {
style: ast::AttrOuter,
value: P(ast::MetaItem {
span: self.span,
node: ast::MetaWord(token::get_name(
special_idents::prelude_import.name)),
node: ast::MetaWord(special_idents::prelude_import.name.as_str()),
}),
is_sugared_doc: false,
},