mirror of
https://gitlab.com/news-flash/article_scraper.git
synced 2025-07-07 16:15:32 +02:00
fix clippy
This commit is contained in:
parent
612f022879
commit
69b7b1fdc2
1 changed files with 1 additions and 1 deletions
|
@ -314,7 +314,7 @@ impl Readability {
|
||||||
);
|
);
|
||||||
for ancestors in alternative_candidate_ancestors.iter().take(tmp) {
|
for ancestors in alternative_candidate_ancestors.iter().take(tmp) {
|
||||||
lists_containing_this_ancestor +=
|
lists_containing_this_ancestor +=
|
||||||
ancestors.into_iter().filter(|n| n == &parent).count();
|
ancestors.iter().filter(|n| n == &parent).count();
|
||||||
}
|
}
|
||||||
|
|
||||||
if lists_containing_this_ancestor >= constants::MINIMUM_TOPCANDIDATES {
|
if lists_containing_this_ancestor >= constants::MINIMUM_TOPCANDIDATES {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue