Refactor P<ast::MetaItem>
-> ast::MetaItem
.
This commit is contained in:
parent
e97686d048
commit
f177a00ac9
14 changed files with 54 additions and 58 deletions
|
@ -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()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue