Skip to content

Commit c90eff3

Browse files
committed
Resolve clippy for Macos
Signed-off-by: Malhar Vora <mlvora.2010@gmail.com>
1 parent 72b94ad commit c90eff3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/uu/lsns/src/lsns.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@ mod smartcols;
1212

1313
use clap::{Command, crate_version};
1414
#[cfg(target_os = "linux")]
15+
use std::ffi::CString;
16+
#[cfg(target_os = "linux")]
1517
use std::os::linux::fs::MetadataExt;
1618
use std::{
1719
collections::HashMap,
18-
ffi::CString,
1920
fs::{self, DirEntry, read_dir, read_to_string},
2021
};
2122
#[cfg(target_os = "linux")]

0 commit comments

Comments
 (0)