1
Fork 0

re-format with new rustfmt

This commit is contained in:
Mark Rousskov 2021-11-30 13:08:41 -05:00
parent b221c877e8
commit 971c549ca3
15 changed files with 111 additions and 81 deletions

View file

@ -395,9 +395,7 @@ crate fn register_res(cx: &mut DocContext<'_>, res: Res) -> DefId {
let (did, kind) = match res {
// These should be added to the cache using `record_extern_fqn`.
Res::Def(
kind
@
(AssocTy | AssocFn | AssocConst | Variant | Fn | TyAlias | Enum | Trait | Struct
kind @ (AssocTy | AssocFn | AssocConst | Variant | Fn | TyAlias | Enum | Trait | Struct
| Union | Mod | ForeignTy | Const | Static | Macro(..) | TraitAlias),
i,
) => (i, kind.into()),