| @@ -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, |