We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32c0ce4 commit 3fa11a3Copy full SHA for 3fa11a3
site/src/job_queue.rs
@@ -42,7 +42,7 @@ fn sort_benchmark_requests(done: &HashSet<String>, request_queue: &mut [Benchmar
42
// A topological sort, where each "level" is additionally altered such that
43
// try commits come first, and then sorted by PR # (as a rough heuristic for
44
// earlier requests).
45
- let mut done: HashSet<String> = done.iter().map(|x| x.clone()).collect();
+ let mut done: HashSet<String> = done.iter().cloned().collect();
46
47
// Ensure all the items are ready to be sorted, if they are not this is
48
// undefined behaviour
0 commit comments