diff options
| author | Michael Neumann <mneumann@ntecs.de> | 2015-01-29 01:56:59 +0100 |
|---|---|---|
| committer | Michael Neumann <mneumann@ntecs.de> | 2015-01-29 01:56:59 +0100 |
| commit | ca0e83cdeca6c0fc43d8e8017174e6531da4406e (patch) | |
| tree | e7305270b81f2f4862ef0317faf2920c74284c92 /src/libstd/sys | |
| parent | c5961ad06d45689b44ff305c15d6ec7ec65755a9 (diff) | |
| download | rust-ca0e83cdeca6c0fc43d8e8017174e6531da4406e.tar.gz rust-ca0e83cdeca6c0fc43d8e8017174e6531da4406e.zip | |
Fix wrong use std::io -> old_io
Diffstat (limited to 'src/libstd/sys')
| -rw-r--r-- | src/libstd/sys/unix/os.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys/unix/os.rs b/src/libstd/sys/unix/os.rs index 5d5cda03f01..dd343baa7c9 100644 --- a/src/libstd/sys/unix/os.rs +++ b/src/libstd/sys/unix/os.rs @@ -196,7 +196,7 @@ pub fn load_self() -> Option<Vec<u8>> { #[cfg(target_os = "dragonfly")] pub fn load_self() -> Option<Vec<u8>> { - use std::io; + use old_io; match old_io::fs::readlink(&Path::new("/proc/curproc/file")) { Ok(path) => Some(path.into_vec()), |
