Skip to content

Commit 6427fdc

Browse files
committed
support default impl for specialization
fix tidy
1 parent 116e983 commit 6427fdc

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/librustdoc/visit_ast.rs

+7-1
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,13 @@ impl<'a, 'tcx> RustdocVisitor<'a, 'tcx> {
502502
om.traits.push(t);
503503
},
504504

505-
hir::ItemImpl(unsafety, polarity, defaultness, ref gen, ref tr, ref ty, ref item_ids) => {
505+
hir::ItemImpl(unsafety,
506+
polarity,
507+
defaultness,
508+
ref gen,
509+
ref tr,
510+
ref ty,
511+
ref item_ids) => {
506512
// Don't duplicate impls when inlining, we'll pick them up
507513
// regardless of where they're located.
508514
if !self.inlining {

0 commit comments

Comments
 (0)