Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use filtered instead of filter in rustdoc. Fixes segfault.

...of course, it shouldn't be segfaulting, but this fixes the
build.

rs=breakage
  • Loading branch information...
commit 0c05a6c092ac80904b6c3054688f23337b126f3c 1 parent ca71c6e
@catamorphism catamorphism authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/librustdoc/prune_private_pass.rs
View
2  src/librustdoc/prune_private_pass.rs
@@ -49,7 +49,7 @@ fn fold_mod(
let doc = fold::default_any_fold_mod(fold, doc);
doc::ModDoc_({
- items: doc.items.filter(|ItemTag| {
+ items: doc.items.filtered(|ItemTag| {
is_visible(fold.ctxt, ItemTag.item())
}),
.. *doc
Please sign in to comment.
Something went wrong with that request. Please try again.