Add Owned*, Borrowed*, and As* to the preludes.
This commit is contained in:
@@ -108,7 +108,7 @@ pub mod prelude {
|
|||||||
pub use super::fs::{FileTypeExt, MetadataExt, OpenOptionsExt, PermissionsExt};
|
pub use super::fs::{FileTypeExt, MetadataExt, OpenOptionsExt, PermissionsExt};
|
||||||
#[doc(no_inline)]
|
#[doc(no_inline)]
|
||||||
#[stable(feature = "rust1", since = "1.0.0")]
|
#[stable(feature = "rust1", since = "1.0.0")]
|
||||||
pub use super::io::{AsRawFd, FromRawFd, IntoRawFd, RawFd};
|
pub use super::io::{AsFd, AsRawFd, BorrowedFd, FromRawFd, IntoRawFd, OwnedFd, RawFd};
|
||||||
#[doc(no_inline)]
|
#[doc(no_inline)]
|
||||||
#[stable(feature = "rust1", since = "1.0.0")]
|
#[stable(feature = "rust1", since = "1.0.0")]
|
||||||
pub use super::process::{CommandExt, ExitStatusExt};
|
pub use super::process::{CommandExt, ExitStatusExt};
|
||||||
|
|||||||
@@ -50,5 +50,5 @@ pub mod prelude {
|
|||||||
pub use super::fs::{DirEntryExt, FileExt, MetadataExt, OpenOptionsExt};
|
pub use super::fs::{DirEntryExt, FileExt, MetadataExt, OpenOptionsExt};
|
||||||
#[doc(no_inline)]
|
#[doc(no_inline)]
|
||||||
#[stable(feature = "rust1", since = "1.0.0")]
|
#[stable(feature = "rust1", since = "1.0.0")]
|
||||||
pub use super::io::{AsRawFd, FromRawFd, IntoRawFd, RawFd};
|
pub use super::io::{AsFd, AsRawFd, BorrowedFd, FromRawFd, IntoRawFd, OwnedFd, RawFd};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -32,8 +32,11 @@ pub mod prelude {
|
|||||||
pub use super::fs::{MetadataExt, OpenOptionsExt};
|
pub use super::fs::{MetadataExt, OpenOptionsExt};
|
||||||
#[doc(no_inline)]
|
#[doc(no_inline)]
|
||||||
#[stable(feature = "rust1", since = "1.0.0")]
|
#[stable(feature = "rust1", since = "1.0.0")]
|
||||||
pub use super::io::{AsRawHandle, AsRawSocket, RawHandle, RawSocket};
|
pub use super::io::{
|
||||||
|
AsHandle, AsSocket, BorrowedHandle, BorrowedSocket, FromRawHandle, FromRawSocket,
|
||||||
|
IntoRawHandle, IntoRawSocket, OptionFileHandle, OwnedHandle, OwnedSocket,
|
||||||
|
};
|
||||||
#[doc(no_inline)]
|
#[doc(no_inline)]
|
||||||
#[stable(feature = "rust1", since = "1.0.0")]
|
#[stable(feature = "rust1", since = "1.0.0")]
|
||||||
pub use super::io::{FromRawHandle, FromRawSocket, IntoRawHandle, IntoRawSocket};
|
pub use super::io::{AsRawHandle, AsRawSocket, RawHandle, RawSocket};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user