add #[allow(dead_code)]

This commit is contained in:
João Marcos 2025-05-03 19:42:09 -03:00
parent b86916fafa
commit 26535e4b8d

View File

@ -91,6 +91,7 @@ fn create_random_files(dir: impl Into<PathBuf>, depth: u8, rng: &mut SmallRng) {
}
/// Create n random files on directory dir
#[cfg_attr(feature = "allow_piped_choice", allow(unused))]
fn create_n_random_files(n: usize, dir: impl Into<PathBuf>, rng: &mut SmallRng) {
let dir: &PathBuf = &dir.into();