Skip to content

Commit

Permalink
tests: suppress clippy redundant clone check in test code
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-laplante authored and djc committed Jun 3, 2023
1 parent 6cc3814 commit a81fd6c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/multi-autodrop.rs
Expand Up @@ -12,6 +12,7 @@ fn main() {
};

{
#[allow(clippy::redundant_clone)]
let pb2 = pb.clone();
for _ in 0..10 {
pb2.inc(1);
Expand Down

0 comments on commit a81fd6c

Please sign in to comment.