adds feature gate to doc-test (example)
This commit is contained in:
parent
ee5703cbbc
commit
ebb9d289db
1 changed files with 1 additions and 0 deletions
|
@ -427,6 +427,7 @@ impl Builder {
|
|||
/// # Examples
|
||||
///
|
||||
/// ```
|
||||
/// #![feature(thread_spawn_unchecked)]
|
||||
/// use std::thread;
|
||||
///
|
||||
/// let builder = thread::Builder::new();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue