Update std::os module documentation.

Adds missing descriptions for the modules std::os::linux::fs and std::os::windows::io.
Also adds punctuation for consistency with other descriptions.
This commit is contained in:
Christiaan Dirkx 2020-09-11 04:05:19 +02:00
parent 8c35a9279c
commit 954361a3d4
9 changed files with 12 additions and 8 deletions

View File

@ -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;

View File

@ -1,4 +1,4 @@
//! Linux-specific definitions
//! Linux-specific definitions.
#![stable(feature = "raw_ext", since = "1.1.0")]

View File

@ -1,4 +1,4 @@
//! Linux-specific raw type definitions
//! Linux-specific raw type definitions.
#![stable(feature = "raw_ext", since = "1.1.0")]
#![rustc_deprecated(

View File

@ -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
//!

View File

@ -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")]

View File

@ -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;

View File

@ -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(

View File

@ -1,3 +1,5 @@
//! Windows-specific extensions to general I/O primitives.
#![stable(feature = "rust1", since = "1.0.0")]
use crate::fs;

View File

@ -1,4 +1,4 @@
//! Windows-specific primitives
//! Windows-specific primitives.
#![stable(feature = "raw_ext", since = "1.1.0")]