Skip to content

Commit c5ee3b6

Browse files
committed
Remobve unused import
1 parent 9b6940d commit c5ee3b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/sys/unix/fs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,7 @@ pub fn canonicalize(p: &Path) -> io::Result<PathBuf> {
796796

797797
#[cfg(not(any(target_os = "linux", target_os = "android")))]
798798
pub fn copy(from: &Path, to: &Path) -> io::Result<u64> {
799-
use fs::{File, set_permissions};
799+
use fs::File;
800800
if !from.is_file() {
801801
return Err(Error::new(ErrorKind::InvalidInput,
802802
"the source path is not an existing regular file"))

0 commit comments

Comments
 (0)