1
Fork 0

adds feature gate to doc-test (example)

This commit is contained in:
oliver-giersch 2018-10-15 14:14:17 +02:00 committed by GitHub
parent ee5703cbbc
commit ebb9d289db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -427,6 +427,7 @@ impl Builder {
/// # Examples
///
/// ```
/// #![feature(thread_spawn_unchecked)]
/// use std::thread;
///
/// let builder = thread::Builder::new();