change ast::ty_param into a struct.
This commit is contained in:
parent
df7d376d25
commit
e1f1a1204a
6 changed files with 14 additions and 10 deletions
|
@ -2458,7 +2458,7 @@ impl Parser {
|
|||
fn parse_ty_param() -> ty_param {
|
||||
let ident = self.parse_ident();
|
||||
let bounds = self.parse_optional_ty_param_bounds();
|
||||
return {ident: ident, id: self.get_id(), bounds: bounds};
|
||||
ast::ty_param { ident: ident, id: self.get_id(), bounds: bounds }
|
||||
}
|
||||
|
||||
fn parse_ty_params() -> ~[ty_param] {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue