Skip to content

Commit e9b5c86

Browse files
authored
Rollup merge of #45648 - tbu-:pr_doc_unix_ext, r=estebank
Update doc comment for the Unix extension module It was a bit outdated, claimed to be able to do less than it actually could.
2 parents cf0fe06 + afc7106 commit e9b5c86

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,14 @@
1010

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

0 commit comments

Comments
 (0)