Skip to content

Commit 8f3bd69

Browse files
committed
Linter issues
1 parent 120c2b1 commit 8f3bd69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

site/src/job_queue.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ async fn create_benchmark_request_master_commits(
3838

3939
/// Sorts try and master requests that are in the `ArtifactsReady` status.
4040
/// Doesn't consider in-progress requests or release artifacts.
41-
fn sort_benchmark_requests<'a>(done: &HashSet<String>, request_queue: &'a mut [BenchmarkRequest]) {
41+
fn sort_benchmark_requests(done: &HashSet<String>, request_queue: &mut [BenchmarkRequest]) {
4242
// A topological sort, where each "level" is additionally altered such that
4343
// try commits come first, and then sorted by PR # (as a rough heuristic for
4444
// earlier requests).
@@ -150,7 +150,7 @@ pub async fn build_queue(
150150

151151
release_artifacts.sort_unstable_by(|a, b| {
152152
a.tag()
153-
.cmp(&b.tag())
153+
.cmp(b.tag())
154154
.then_with(|| a.created_at.cmp(&b.created_at))
155155
});
156156

0 commit comments

Comments
 (0)