Skip to content

Commit a808fd4

Browse files
committed
Move std::sys::unix::ext to std::os::unix
1 parent ffc20e4 commit a808fd4

File tree

20 files changed

+2
-22
lines changed

20 files changed

+2
-22
lines changed

library/std/src/os/mod.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ cfg_if::cfg_if! {
1515
// This should help show platform-specific functionality in a hopefully cross-platform
1616
// way in the documentation.
1717

18-
#[stable(feature = "rust1", since = "1.0.0")]
19-
pub use crate::sys::unix_ext as unix;
18+
pub mod unix;
2019

2120
pub mod linux;
2221

@@ -53,8 +52,7 @@ cfg_if::cfg_if! {
5352
pub use hermit as unix;
5453

5554
#[cfg(unix)]
56-
#[stable(feature = "rust1", since = "1.0.0")]
57-
pub use crate::sys::ext as unix;
55+
pub mod unix;
5856
#[cfg(target_os = "android")]
5957
pub mod android;
6058
#[cfg(target_os = "dragonfly")]
File renamed without changes.
File renamed without changes.
File renamed without changes.

library/std/src/sys/unix/ext/mod.rs renamed to library/std/src/os/unix/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
2828
#![stable(feature = "rust1", since = "1.0.0")]
2929
#![doc(cfg(unix))]
30-
#![allow(missing_docs)]
3130

3231
cfg_if::cfg_if! {
3332
if #[cfg(doc)] {

0 commit comments

Comments
 (0)