diff options
| author | Nicolas Koch <nioko1337@gmail.com> | 2018-05-30 12:09:20 +0200 |
|---|---|---|
| committer | Nicolas Koch <nioko1337@gmail.com> | 2018-05-30 12:09:20 +0200 |
| commit | c5ee3b6df1db2c4410b0e8d7a80a2885cf5628f1 (patch) | |
| tree | 94697d8eb0accd7ca27983d70b23a8383e5ecb08 | |
| parent | 9b6940d0b46284f24410050e9bfde0a9ab08d0fb (diff) | |
| download | rust-c5ee3b6df1db2c4410b0e8d7a80a2885cf5628f1.tar.gz rust-c5ee3b6df1db2c4410b0e8d7a80a2885cf5628f1.zip | |
Remobve unused import
| -rw-r--r-- | src/libstd/sys/unix/fs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys/unix/fs.rs b/src/libstd/sys/unix/fs.rs index 9d0d3779057..758286fce6c 100644 --- a/src/libstd/sys/unix/fs.rs +++ b/src/libstd/sys/unix/fs.rs @@ -796,7 +796,7 @@ pub fn canonicalize(p: &Path) -> io::Result<PathBuf> { #[cfg(not(any(target_os = "linux", target_os = "android")))] pub fn copy(from: &Path, to: &Path) -> io::Result<u64> { - use fs::{File, set_permissions}; + use fs::File; if !from.is_file() { return Err(Error::new(ErrorKind::InvalidInput, "the source path is not an existing regular file")) |
