re-format with new rustfmt
This commit is contained in:
parent
b221c877e8
commit
971c549ca3
15 changed files with 111 additions and 81 deletions
|
@ -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()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue