diff options
| author | king6cong <king6cong@gmail.com> | 2017-02-15 18:38:34 +0800 |
|---|---|---|
| committer | king6cong <king6cong@gmail.com> | 2017-02-15 18:42:18 +0800 |
| commit | b82131332706e5b39cb12186ce7ff6c682281464 (patch) | |
| tree | cd368cc30cbe45ca2512e3dfc06863c874594046 | |
| parent | ea8c62919e5f0c7e511717f672406536ef94cab1 (diff) | |
| download | rust-b82131332706e5b39cb12186ce7ff6c682281464.tar.gz rust-b82131332706e5b39cb12186ce7ff6c682281464.zip | |
sys/mod doc update and mod import order adjust
| -rw-r--r-- | src/libstd/sys/mod.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/libstd/sys/mod.rs b/src/libstd/sys/mod.rs index 14da376efa9..ef4dc365dbe 100644 --- a/src/libstd/sys/mod.rs +++ b/src/libstd/sys/mod.rs @@ -13,11 +13,11 @@ //! The `std::sys` module is the abstracted interface through which //! `std` talks to the underlying operating system. It has different //! 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 //! 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 //! integration code in `std::sys_common`. See that module's @@ -34,10 +34,6 @@ pub use self::imp::*; -#[cfg(target_os = "redox")] -#[path = "redox/mod.rs"] -mod imp; - #[cfg(unix)] #[path = "unix/mod.rs"] mod imp; @@ -45,3 +41,7 @@ mod imp; #[cfg(windows)] #[path = "windows/mod.rs"] mod imp; + +#[cfg(target_os = "redox")] +#[path = "redox/mod.rs"] +mod imp; |
