1
Fork 0

Refactor P<ast::MetaItem> -> ast::MetaItem.

This commit is contained in:
Jeffrey Seyfried 2016-11-15 10:17:24 +00:00
parent e97686d048
commit f177a00ac9
14 changed files with 54 additions and 58 deletions

View file

@ -117,7 +117,7 @@ pub fn parse_item_from_source_str<'a>(name: String, source: String, sess: &'a Pa
}
pub fn parse_meta_from_source_str<'a>(name: String, source: String, sess: &'a ParseSess)
-> PResult<'a, P<ast::MetaItem>> {
-> PResult<'a, ast::MetaItem> {
new_parser_from_source_str(sess, name, source).parse_meta_item()
}