Skip to content

Commit

Permalink
Fix clippy::needless_borrows_for_generic_args lints (#77)
Browse files Browse the repository at this point in the history
Co-authored-by: Andreas Reich <[email protected]>
  • Loading branch information
waywardmonkeys and Wumpf authored Aug 1, 2024
1 parent 20b4350 commit 0e91a6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/interleaved_command_buffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ fn multithreaded_scopes() {
barrier.wait();

for i in 0..NUM_SCOPES_PER_THREAD {
let _ = profiler.scope(&format!("e0_s{i}"), &mut encoder, &device);
let _ = profiler.scope(format!("e0_s{i}"), &mut encoder, &device);
}
encoder.finish()
});
Expand All @@ -88,7 +88,7 @@ fn multithreaded_scopes() {
barrier.wait();

for i in 0..NUM_SCOPES_PER_THREAD {
let _ = profiler.scope(&format!("e1_s{i}"), &mut encoder, &device);
let _ = profiler.scope(format!("e1_s{i}"), &mut encoder, &device);
}
encoder.finish()
});
Expand Down

0 comments on commit 0e91a6f

Please sign in to comment.