From ca0e83cdeca6c0fc43d8e8017174e6531da4406e Mon Sep 17 00:00:00 2001 From: Michael Neumann Date: Thu, 29 Jan 2015 01:56:59 +0100 Subject: [PATCH] Fix wrong use std::io -> old_io --- src/libstd/sys/unix/os.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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> { #[cfg(target_os = "dragonfly")] pub fn load_self() -> Option> { - use std::io; + use old_io; match old_io::fs::readlink(&Path::new("/proc/curproc/file")) { Ok(path) => Some(path.into_vec()),