We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2609fab + 6a8311c commit d872d7fCopy full SHA for d872d7f
library/std/src/thread/mod.rs
@@ -257,6 +257,7 @@ pub const fn require_unstable_const_init_thread_local() {}
257
/// [`unwrap`]: crate::result::Result::unwrap
258
/// [naming-threads]: ./index.html#naming-threads
259
/// [stack-size]: ./index.html#stack-size
260
+#[must_use = "must eventually spawn the thread"]
261
#[stable(feature = "rust1", since = "1.0.0")]
262
#[derive(Debug)]
263
pub struct Builder {
0 commit comments