Skip to content

Commit 1447ce7

Browse files
committed
Auto merge of #30870 - Eljay:issue-30477, r=alexcrichton
Fixes #30477, #30213. The loop over reexports used to be a closure before #30043 but it's an iterator now so it should just continue instead of exiting the loop and skipping stuff. r? @brson
2 parents 6089eba + 42acf89 commit 1447ce7

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
@@ -459,7 +459,7 @@ fn build_module(cx: &DocContext, tcx: &ty::ctxt,
459459
fill_in(cx, tcx, did, items);
460460
}
461461
cstore::DlDef(def) if item.vis == hir::Public => {
462-
if !visited.insert(def) { return }
462+
if !visited.insert(def) { continue }
463463
match try_inline_def(cx, tcx, def) {
464464
Some(i) => items.extend(i),
465465
None => {}

0 commit comments

Comments
 (0)