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:
commit
9d9146ad95
57 changed files with 68 additions and 68 deletions
|
@ -2966,7 +2966,7 @@ impl<'tcx> Clean<Item> for ty::VariantDef {
|
|||
source: cx.tcx.def_span(self.did).clean(cx),
|
||||
visibility: Some(Inherited),
|
||||
def_id: self.did,
|
||||
inner: VariantItem(Variant { kind: kind }),
|
||||
inner: VariantItem(Variant { kind }),
|
||||
stability: get_stability(cx, self.did),
|
||||
deprecation: get_deprecation(cx, self.did),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue