mirror of
https://github.com/samvallad33/vestige.git
synced 2026-06-20 21:18:08 +02:00
Fix ComposedGraph clippy warnings
This commit is contained in:
parent
efbea25133
commit
b45ea819d7
2 changed files with 2 additions and 2 deletions
|
|
@ -4822,7 +4822,7 @@ impl Storage {
|
|||
{
|
||||
let tagged_nodes = self.get_nodes_matching_any_tag_prefix(filter, TAGGED_SCAN_LIMIT)?;
|
||||
let mut by_id = HashMap::new();
|
||||
for node in nodes.into_iter().chain(tagged_nodes.into_iter()) {
|
||||
for node in nodes.into_iter().chain(tagged_nodes) {
|
||||
by_id.entry(node.id.clone()).or_insert(node);
|
||||
}
|
||||
nodes = by_id.into_values().collect();
|
||||
|
|
|
|||
|
|
@ -256,7 +256,7 @@ fn bounty_mode(storage: &Storage, limit: i32, tags: Option<&[String]>) -> Result
|
|||
{
|
||||
push_limited(&mut duplicate_risk_lanes, item.clone(), limit);
|
||||
}
|
||||
if outcome_types.iter().any(|kind| *kind == "needs_poc") {
|
||||
if outcome_types.contains(&"needs_poc") {
|
||||
push_limited(&mut needs_poc_lanes, item.clone(), limit);
|
||||
}
|
||||
if already_composed.len() < limit as usize {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue