Skip to content

Update std::os module documentation. #76583

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 12, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions library/std/src/os/linux/fs.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//! Linux-specific extensions to primitives in the `std::fs` module.

#![stable(feature = "metadata_ext", since = "1.1.0")]

use crate::fs::Metadata;
Expand Down
2 changes: 1 addition & 1 deletion library/std/src/os/linux/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! Linux-specific definitions
//! Linux-specific definitions.

#![stable(feature = "raw_ext", since = "1.1.0")]

Expand Down
2 changes: 1 addition & 1 deletion library/std/src/os/linux/raw.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! Linux-specific raw type definitions
//! Linux-specific raw type definitions.

#![stable(feature = "raw_ext", since = "1.1.0")]
#![rustc_deprecated(
Expand Down
2 changes: 1 addition & 1 deletion library/std/src/sys/unix/ext/ffi.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! Unix-specific extension to the primitives in the `std::ffi` module
//! Unix-specific extension to the primitives in the `std::ffi` module.
//!
//! # Examples
//!
Expand Down
2 changes: 1 addition & 1 deletion library/std/src/sys/unix/ext/io.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! Unix-specific extensions to general I/O primitives
//! Unix-specific extensions to general I/O primitives.

#![stable(feature = "rust1", since = "1.0.0")]

Expand Down
4 changes: 2 additions & 2 deletions library/std/src/sys/unix/ext/net.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#![stable(feature = "unix_socket", since = "1.10.0")]
//! Unix-specific networking functionality.

//! Unix-specific networking functionality
#![stable(feature = "unix_socket", since = "1.10.0")]

#[cfg(all(test, not(target_os = "emscripten")))]
mod tests;
Expand Down
2 changes: 1 addition & 1 deletion library/std/src/sys/unix/ext/raw.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! Unix-specific primitives available on all unix platforms
//! Unix-specific primitives available on all unix platforms.

#![stable(feature = "raw_ext", since = "1.1.0")]
#![rustc_deprecated(
Expand Down
2 changes: 2 additions & 0 deletions library/std/src/sys/windows/ext/io.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//! Windows-specific extensions to general I/O primitives.

#![stable(feature = "rust1", since = "1.0.0")]

use crate::fs;
Expand Down
2 changes: 1 addition & 1 deletion library/std/src/sys/windows/ext/raw.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! Windows-specific primitives
//! Windows-specific primitives.

#![stable(feature = "raw_ext", since = "1.1.0")]

Expand Down