about summary refs log tree commit diff
path: root/src/libstd/ffi/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd/ffi/mod.rs')
-rw-r--r--src/libstd/ffi/mod.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/libstd/ffi/mod.rs b/src/libstd/ffi/mod.rs
index 99becb67a5a..dfe706e0773 100644
--- a/src/libstd/ffi/mod.rs
+++ b/src/libstd/ffi/mod.rs
@@ -20,11 +20,3 @@ pub use self::os_str::{OsString, OsStr};
 
 mod c_str;
 mod os_str;
-
-// FIXME (#21670): these should be defined in the os_str module
-/// Freely convertible to an `&OsStr` slice.
-#[unstable(feature = "std_misc")]
-pub trait AsOsStr {
-    /// Converts to an `&OsStr` slice.
-    fn as_os_str(&self) -> &OsStr;
-}