libstd: rustdoc: correct note on fds 0/1/2 pre-main

Closes: #137490
This commit is contained in:
наб
2025-02-23 18:57:10 +01:00
parent b522e7c5ea
commit 74ec86248a

View File

@@ -174,7 +174,9 @@
//!
//! - after-main use of thread-locals, which also affects additional features:
//! - [`thread::current()`]
//! - before-main stdio file descriptors are not guaranteed to be open on unix platforms
//! - under UNIX, before main, file descriptors 0, 1, and 2 may be unchanged
//! (they are guaranteed to be open during main,
//! and are opened to /dev/null O_RDWR if they weren't open on program start)
//!
//!
//! [I/O]: io