Update library/std/src/thread/mod.rs

Co-authored-by: Josh Triplett <josh@joshtriplett.org>
This commit is contained in:
John Kugelman 2021-10-12 10:48:27 -04:00 committed by GitHub
parent e4c5e86228
commit 6a8311cbfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -257,7 +257,7 @@ pub const fn require_unstable_const_init_thread_local() {}
/// [`unwrap`]: crate::result::Result::unwrap
/// [naming-threads]: ./index.html#naming-threads
/// [stack-size]: ./index.html#stack-size
#[must_use = "must eventually call `spawn()` on Thread builders"]
#[must_use = "must eventually spawn the thread"]
#[stable(feature = "rust1", since = "1.0.0")]
#[derive(Debug)]
pub struct Builder {