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:
parent
ca71c6ec5b
commit
0c05a6c092
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user