about summary refs log tree commit diff
path: root/library/std/src/os/unix/mod.rs
diff options
context:
space:
mode:
authorDan Gohman <dev@sunfishcode.online>2021-07-27 17:12:40 -0700
committerDan Gohman <dev@sunfishcode.online>2021-08-19 12:02:39 -0700
commit6486f89cbc7a041e5d48190a1f98e07af2bb842c (patch)
tree6d17735b126e26d7465cda2fd9765af187efed42 /library/std/src/os/unix/mod.rs
parent0cb69dec57f9ad279d7ceefad26cb0d2e16107bc (diff)
downloadrust-6486f89cbc7a041e5d48190a1f98e07af2bb842c.tar.gz
rust-6486f89cbc7a041e5d48190a1f98e07af2bb842c.zip
Add Owned*, Borrowed*, and As* to the preludes.
Diffstat (limited to 'library/std/src/os/unix/mod.rs')
-rw-r--r--library/std/src/os/unix/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/os/unix/mod.rs b/library/std/src/os/unix/mod.rs
index 6c73d4b21dd..17a02595724 100644
--- a/library/std/src/os/unix/mod.rs
+++ b/library/std/src/os/unix/mod.rs
@@ -108,7 +108,7 @@ pub mod prelude {
     pub use super::fs::{FileTypeExt, MetadataExt, OpenOptionsExt, PermissionsExt};
     #[doc(no_inline)]
     #[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)]
     #[stable(feature = "rust1", since = "1.0.0")]
     pub use super::process::{CommandExt, ExitStatusExt};