Skip to content

Commit

Permalink
Silence clippy
Browse files Browse the repository at this point in the history
Signed-off-by: John Nunley <dev@notgull.net>
  • Loading branch information
notgull authored and Xaeroxe committed Sep 3, 2023
1 parent e2b07c3 commit 2615c74
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/basic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ struct TestFixture {
const SUBDIRS: &[&str] = &["a", "b", "c"];
const BIN_NAME: &str = "bin";

#[allow(clippy::unnecessary_cast)]
#[cfg(unix)]
fn mk_bin(dir: &Path, path: &str, extension: &str) -> io::Result<PathBuf> {
use std::os::unix::fs::OpenOptionsExt;
Expand Down

0 comments on commit 2615c74

Please sign in to comment.