Rollup merge of #76583 - CDirkx:os-doc, r=jonas-schievink
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:
commit
2477f070fc
@ -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;
|
||||
|
@ -1,4 +1,4 @@
|
||||
//! Linux-specific definitions
|
||||
//! Linux-specific definitions.
|
||||
|
||||
#![stable(feature = "raw_ext", since = "1.1.0")]
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
//! Linux-specific raw type definitions
|
||||
//! Linux-specific raw type definitions.
|
||||
|
||||
#![stable(feature = "raw_ext", since = "1.1.0")]
|
||||
#![rustc_deprecated(
|
||||
|
@ -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
|
||||
//!
|
||||
|
@ -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")]
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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(
|
||||
|
@ -1,3 +1,5 @@
|
||||
//! Windows-specific extensions to general I/O primitives.
|
||||
|
||||
#![stable(feature = "rust1", since = "1.0.0")]
|
||||
|
||||
use crate::fs;
|
||||
|
@ -1,4 +1,4 @@
|
||||
//! Windows-specific primitives
|
||||
//! Windows-specific primitives.
|
||||
|
||||
#![stable(feature = "raw_ext", since = "1.1.0")]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user