]> git.lizzy.rs Git - rust.git/commitdiff
Update doc comment for the Unix extension module
authorTobias Bucher <tobiasbucher5991@gmail.com>
Tue, 31 Oct 2017 09:41:10 +0000 (10:41 +0100)
committerTobias Bucher <tobiasbucher5991@gmail.com>
Tue, 31 Oct 2017 09:41:10 +0000 (10:41 +0100)
It was a bit outdated, claimed to be able to do less than it actually
could.

src/libstd/sys/unix/ext/mod.rs

index 98bc90dd4e13246694c14531affe2fd53cd47012..c221f7c8cfe2429d224e61fceee7a543149f28c6 100644 (file)
 
 //! Experimental extensions to `std` for Unix platforms.
 //!
-//! For now, this module is limited to extracting file descriptors,
-//! but its functionality will grow over time.
+//! Provides access to platform-level information on Unix platforms, and
+//! exposes Unix-specific functions that would otherwise be inappropriate as
+//! part of the core `std` library.
+//!
+//! It exposes more ways to deal with platform-specific strings (`OsStr`,
+//! `OsString`), allows to set permissions more granularly, extract low-level
+//! file descriptors from files and sockets, and has platform-specific helpers
+//! for spawning processes.
 //!
 //! # Examples
 //!