Permalink
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...
1 parent ca71c6e commit 0c05a6c092ac80904b6c3054688f23337b126f3c @catamorphism catamorphism committed Jan 11, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 0c05a6c

Please sign in to comment.