summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index ec3341e7..97676dd9 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -4,7 +4,7 @@
//! defined in.
#![crate_name = "nix"]
-#![feature(collections, core, net, linkage, libc, std_misc)]
+#![feature(collections, core, io_ext, linkage, libc, std_misc)]
#![allow(non_camel_case_types)]
#[macro_use]
@@ -51,7 +51,7 @@ pub mod unistd;
*/
use std::ffi::OsStr;
-use std::os::unix::OsStrExt;
+use std::os::unix::ffi::OsStrExt;
/// Converts a value to an external (FFI) string representation
trait AsExtStr {