Skip to content

Commit

Permalink
Fix rustdoc reexports.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lee Jeffery committed Jan 13, 2016
1 parent 8796e01 commit 42acf89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustdoc/clean/inline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ fn build_module(cx: &DocContext, tcx: &ty::ctxt,
fill_in(cx, tcx, did, items);
}
cstore::DlDef(def) if item.vis == hir::Public => {
if !visited.insert(def) { return }
if !visited.insert(def) { continue }
match try_inline_def(cx, tcx, def) {
Some(i) => items.extend(i),
None => {}
Expand Down

0 comments on commit 42acf89

Please sign in to comment.