Skip to content

Commit

Permalink
Update rustdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk committed Jul 2, 2018
1 parent 6e5b9c1 commit 75a6fde
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/librustdoc/clean/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2987,14 +2987,6 @@ impl Clean<Type> for hir::Ty {
}
}
TyBareFn(ref barefn) => BareFunction(box barefn.clean(cx)),
TyImplTraitExistential(hir_id, _, _) => {
match cx.tcx.hir.expect_item(hir_id.id).node {
hir::ItemExistential(ref exist_ty) => {
ImplTrait(exist_ty.bounds.clean(cx))
},
ref other => panic!("impl Trait pointed to {:#?}", other),
}
},
TyInfer | TyErr => Infer,
TyTypeof(..) => panic!("Unimplemented type {:?}", self.node),
}
Expand Down

0 comments on commit 75a6fde

Please sign in to comment.