Rollup merge of #55734 - teresy:shorthand-fields, r=davidtwco
refactor: use shorthand fields refactor: use shorthand for single fields everywhere (excluding tests).
This commit is contained in:
@@ -6929,7 +6929,7 @@ impl<'a> Parser<'a> {
|
||||
_ => ()
|
||||
}
|
||||
|
||||
Ok(ast::EnumDef { variants: variants })
|
||||
Ok(ast::EnumDef { variants })
|
||||
}
|
||||
|
||||
/// Parse an "enum" declaration
|
||||
|
||||
Reference in New Issue
Block a user