Use filtered instead of filter in rustdoc. Fixes segfault.

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

rs=breakage
This commit is contained in:
Tim Chevalier 2013-01-10 21:18:12 -08:00
parent ca71c6ec5b
commit 0c05a6c092

View File

@ -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