Skip to content

Commit 6168259

Browse files
committed
style: with clippy
1 parent ceb43c8 commit 6168259

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/core/examples/bench.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ fn main() {
1818
}
1919
}
2020

21-
let node_ids = graph.nodes().keys().map(|id| *id).collect::<Vec<_>>();
21+
let node_ids = graph.nodes().keys().copied().collect::<Vec<_>>();
2222

2323
generate_chain_edges(&mut graph, node_ids);
2424

0 commit comments

Comments
 (0)