We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f88cf68 + 441e7e1 commit e54f01eCopy full SHA for e54f01e
crossbeam-utils/src/thread.rs
@@ -313,6 +313,7 @@ impl fmt::Debug for Scope<'_> {
313
/// [`io::Result`]: std::io::Result
314
/// [naming-threads]: std::thread#naming-threads
315
/// [stack-size]: std::thread#stack-size
316
+#[must_use = "must eventually spawn the thread"]
317
#[derive(Debug)]
318
pub struct ScopedThreadBuilder<'scope, 'env> {
319
scope: &'scope Scope<'env>,
0 commit comments