We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b21064 commit e4c5e86Copy full SHA for e4c5e86
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 call `spawn()` on Thread builders"]
261
#[stable(feature = "rust1", since = "1.0.0")]
262
#[derive(Debug)]
263
pub struct Builder {
0 commit comments