sys/mod doc update and mod import order adjust
This commit is contained in:
parent
ea8c62919e
commit
b821313327
|
@ -13,11 +13,11 @@
|
||||||
//! The `std::sys` module is the abstracted interface through which
|
//! The `std::sys` module is the abstracted interface through which
|
||||||
//! `std` talks to the underlying operating system. It has different
|
//! `std` talks to the underlying operating system. It has different
|
||||||
//! implementations for different operating system families, today
|
//! implementations for different operating system families, today
|
||||||
//! just Unix and Windows.
|
//! just Unix and Windows, and initial support for Redox.
|
||||||
//!
|
//!
|
||||||
//! The centralization of platform-specific code in this module is
|
//! The centralization of platform-specific code in this module is
|
||||||
//! enforced by the "platform abstraction layer" tidy script in
|
//! enforced by the "platform abstraction layer" tidy script in
|
||||||
//! `tools/tidy/pal.rs`.
|
//! `tools/tidy/src/pal.rs`.
|
||||||
//!
|
//!
|
||||||
//! This module is closely related to the platform-independent system
|
//! This module is closely related to the platform-independent system
|
||||||
//! integration code in `std::sys_common`. See that module's
|
//! integration code in `std::sys_common`. See that module's
|
||||||
|
@ -34,10 +34,6 @@
|
||||||
|
|
||||||
pub use self::imp::*;
|
pub use self::imp::*;
|
||||||
|
|
||||||
#[cfg(target_os = "redox")]
|
|
||||||
#[path = "redox/mod.rs"]
|
|
||||||
mod imp;
|
|
||||||
|
|
||||||
#[cfg(unix)]
|
#[cfg(unix)]
|
||||||
#[path = "unix/mod.rs"]
|
#[path = "unix/mod.rs"]
|
||||||
mod imp;
|
mod imp;
|
||||||
|
@ -45,3 +41,7 @@ mod imp;
|
||||||
#[cfg(windows)]
|
#[cfg(windows)]
|
||||||
#[path = "windows/mod.rs"]
|
#[path = "windows/mod.rs"]
|
||||||
mod imp;
|
mod imp;
|
||||||
|
|
||||||
|
#[cfg(target_os = "redox")]
|
||||||
|
#[path = "redox/mod.rs"]
|
||||||
|
mod imp;
|
||||||
|
|
Loading…
Reference in New Issue