Rollup merge of #129161 - dtolnay:spawnunck, r=Noratrieb · patricklam/verify-rust-std@9952947 (original) (raw)

Original file line number Diff line number Diff line change
@@ -412,7 +412,6 @@ impl Builder {
412 412 /// # Examples
413 413 ///
414 414 /// ```
415 - /// #![feature(thread_spawn_unchecked)]
416 415 /// use std::thread;
417 416 ///
418 417 /// let builder = thread::Builder::new();
@@ -433,7 +432,7 @@ impl Builder {
433 432 /// ```
434 433 ///
435 434 /// [`io::Result`]: crate::io::Result
436 - #[unstable(feature = "thread_spawn_unchecked", issue = "55132")]
435 + #[stable(feature = "thread_spawn_unchecked", since = "CURRENT_RUSTC_VERSION")]
437 436 pub unsafe fn spawn_unchecked<F, T>(self, f: F) -> io::Result<JoinHandle<T>>
438 437 where
439 438 F: FnOnce() -> T,