Skip to content

Commit d7606d1

Browse files
committed
Apply Clippy suggestions
1 parent 5f87884 commit d7606d1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

compiler/base/orchestrator/src/coordinator.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2985,7 +2985,7 @@ mod tests {
29852985
}
29862986
}
29872987

2988-
const MAX_CONCURRENT_TESTS: LazyLock<usize> = LazyLock::new(|| {
2988+
static MAX_CONCURRENT_TESTS: LazyLock<usize> = LazyLock::new(|| {
29892989
env::var("TESTS_MAX_CONCURRENCY")
29902990
.ok()
29912991
.and_then(|v| v.parse().ok())
@@ -3538,7 +3538,7 @@ mod tests {
35383538
.await
35393539
.unwrap();
35403540

3541-
assert!(response.success, "stderr: {}", stderr);
3541+
assert!(response.success, "stderr: {stderr}");
35423542
assert_contains!(stderr, "Compiling");
35433543
assert_contains!(stderr, "Finished");
35443544

compiler/base/orchestrator/src/worker.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1172,7 +1172,7 @@ mod test {
11721172
let next_result = this.0.pop_front().expect("FixedAsyncRead ran out of input");
11731173

11741174
if let Ok(v) = &next_result {
1175-
buf.put_slice(&v);
1175+
buf.put_slice(v);
11761176
}
11771177

11781178
Poll::Ready(next_result.map(drop))

0 commit comments

Comments
 (0)