Skip to content

Commit ce323af

Browse files
committed
Fix Clippy
1 parent 5771499 commit ce323af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/job_queue/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ pub async fn build_queue(
156156
});
157157

158158
// We sort the in-progress ones based on the started date
159-
queue.sort_unstable_by(|a, b| a.created_at().cmp(&b.created_at()));
159+
queue.sort_unstable_by_key(|req| req.created_at());
160160

161161
// Add release artifacts ordered by the release tag (1.87.0 before 1.88.0) and `created_at`.
162162
let mut release_artifacts: Vec<BenchmarkRequest> =

0 commit comments

Comments
 (0)