Skip to content

Commit 27ef06d

Browse files
committed
Clippy janitor cleanup
- Allow the needless_borrows in tests-integration - Remove empty else block Signed-off-by: John Eckersberg <[email protected]>
1 parent 270ed92 commit 27ef06d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

lib/src/utils.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ where
108108
if pb.is_hidden() {
109109
print!("{}...", msg);
110110
std::io::stdout().flush().unwrap();
111-
} else {
112111
}
113112
let r = f.await;
114113
if pb.is_hidden() {

tests-integration/src/tests-integration.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#![allow(clippy::needless_borrow)]
2+
#![allow(clippy::needless_borrows_for_generic_args)]
3+
14
use std::path::PathBuf;
25

36
use camino::Utf8PathBuf;

0 commit comments

Comments
 (0)