about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJohn Kugelman <john@kugelman.name>2021-10-12 10:48:27 -0400
committerGitHub <noreply@github.com>2021-10-12 10:48:27 -0400
commit6a8311cbfd19eccb57b1a1fa6974bc77db723f4a (patch)
treeb5db2d6a36e99d40ec081f19d63e1c3d3d9e28ee
parente4c5e86228b2f284577e7e0a115e2c9c9214e573 (diff)
downloadrust-6a8311cbfd19eccb57b1a1fa6974bc77db723f4a.tar.gz
rust-6a8311cbfd19eccb57b1a1fa6974bc77db723f4a.zip
Update library/std/src/thread/mod.rs
Co-authored-by: Josh Triplett <josh@joshtriplett.org>
-rw-r--r--library/std/src/thread/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/thread/mod.rs b/library/std/src/thread/mod.rs
index f141546b646..53aa10c592e 100644
--- a/library/std/src/thread/mod.rs
+++ b/library/std/src/thread/mod.rs
@@ -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 {