std: Add into_raw_os traits to the OS preludes

These traits were mistakenly left out of the OS-specific prelude modules when
they were added.
This commit is contained in:
Alex Crichton 2015-08-18 17:23:45 -07:00
parent 47ea0cfb6b
commit 708200c36a
2 changed files with 2 additions and 2 deletions

View file

@ -41,7 +41,7 @@ pub mod raw;
#[stable(feature = "rust1", since = "1.0.0")]
pub mod prelude {
#[doc(no_inline)]
pub use super::io::{RawFd, AsRawFd, FromRawFd};
pub use super::io::{RawFd, AsRawFd, FromRawFd, IntoRawFd};
#[doc(no_inline)] #[stable(feature = "rust1", since = "1.0.0")]
pub use super::ffi::{OsStrExt, OsStringExt};
#[doc(no_inline)]

View file

@ -30,7 +30,7 @@ pub mod prelude {
#[doc(no_inline)]
pub use super::io::{RawSocket, RawHandle, AsRawSocket, AsRawHandle};
#[doc(no_inline)]
pub use super::io::{FromRawSocket, FromRawHandle};
pub use super::io::{FromRawSocket, FromRawHandle, IntoRawSocket, IntoRawHandle};
#[doc(no_inline)] #[stable(feature = "rust1", since = "1.0.0")]
pub use super::ffi::{OsStrExt, OsStringExt};
#[doc(no_inline)]