support default impl for specialization

fix tidy
This commit is contained in:
Gianni Ciccarelli 2016-11-21 11:59:52 +01:00
parent 116e9831a5
commit 6427fdce7a

View File

@ -502,7 +502,13 @@ impl<'a, 'tcx> RustdocVisitor<'a, 'tcx> {
om.traits.push(t);
},
hir::ItemImpl(unsafety, polarity, defaultness, ref gen, ref tr, ref ty, ref item_ids) => {
hir::ItemImpl(unsafety,
polarity,
defaultness,
ref gen,
ref tr,
ref ty,
ref item_ids) => {
// Don't duplicate impls when inlining, we'll pick them up
// regardless of where they're located.
if !self.inlining {