about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorSean Linsley <code@seanlinsley.com>2023-03-17 09:12:54 -0500
committerGitHub <noreply@github.com>2023-03-17 09:12:54 -0500
commit6eef755012a0f1ac0c40148b7135a125e512f6f0 (patch)
treeec372e50455f6b00bdf73b3cac6c543cd74358ed /library/std/src
parent54567efda7c08d04383001456976f0f2e43bbfbd (diff)
downloadrust-6eef755012a0f1ac0c40148b7135a125e512f6f0.tar.gz
rust-6eef755012a0f1ac0c40148b7135a125e512f6f0.zip
Update mod.rs
Diffstat (limited to 'library/std/src')
-rw-r--r--library/std/src/thread/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/thread/mod.rs b/library/std/src/thread/mod.rs
index ff65c00483d..13b845b25c9 100644
--- a/library/std/src/thread/mod.rs
+++ b/library/std/src/thread/mod.rs
@@ -131,8 +131,8 @@
 //!
 //! * Build the thread with [`Builder`] and pass the desired stack size to [`Builder::stack_size`].
 //! * Set the `RUST_MIN_STACK` environment variable to an integer representing the desired stack
-//!   size (in bytes). Note that setting [`Builder::stack_size`] will override this. Also, note
-//!   that `RUST_MIN_STACK` is cached internally so should be set before any threads are started.
+//!   size (in bytes). Note that setting [`Builder::stack_size`] will override this. Be aware that
+//!   changes to `RUST_MIN_STACK` may be ignored after program start.
 //!
 //! Note that the stack size of the main thread is *not* determined by Rust.
 //!