Skip to content

Commit 98cb1b0

Browse files
Lee Jefferybrson
Lee Jeffery
authored andcommitted
Fix rustdoc reexports.
1 parent 21b295e commit 98cb1b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/clean/inline.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ fn build_module(cx: &DocContext, tcx: &ty::ctxt,
454454
fill_in(cx, tcx, did, items);
455455
}
456456
cstore::DlDef(def) if item.vis == hir::Public => {
457-
if !visited.insert(def) { return }
457+
if !visited.insert(def) { continue }
458458
match try_inline_def(cx, tcx, def) {
459459
Some(i) => items.extend(i),
460460
None => {}

0 commit comments

Comments
 (0)