We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a52b474 commit bf9dc98Copy full SHA for bf9dc98
src/libstd/thread/mod.rs
@@ -392,8 +392,8 @@ impl Builder {
392
393
/// FIXME: Doc
394
#[unstable(feature = "thread_spawn_unchecked", issue = "0")]
395
- pub unsafe fn spawn_unchecked<'a, F, T>(self, f: F) -> io::Result<JoinHandle<T>> where
396
- F: FnOnce() -> T, F: Send + 'a, T: Send + 'a
+ pub unsafe fn spawn_unchecked<F, T>(self, f: F) -> io::Result<JoinHandle<T>> where
+ F: FnOnce() -> T, F: Send, T: Send
397
{
398
let Builder { name, stack_size } = self;
399
0 commit comments