Fix ComposedGraph clippy warnings

This commit is contained in:
Sam Valladares 2026-06-18 16:08:51 -05:00
parent efbea25133
commit b45ea819d7
2 changed files with 2 additions and 2 deletions

View file

@ -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();

View file

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