support default impl
for specialization
fix tidy
This commit is contained in:
parent
116e9831a5
commit
6427fdce7a
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user