diff options
| author | oliver-giersch <oliver.giersch@googlemail.com> | 2018-10-15 14:14:17 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-10-15 14:14:17 +0200 |
| commit | ebb9d289db4f547798a1700175fd7de979051c39 (patch) | |
| tree | e19fdc15a17a5c67aaf256fc2b684c6ff3445db8 /src/libstd/thread | |
| parent | ee5703cbbc6579fde6c717a6b27d58588294d6e1 (diff) | |
| download | rust-ebb9d289db4f547798a1700175fd7de979051c39.tar.gz rust-ebb9d289db4f547798a1700175fd7de979051c39.zip | |
adds feature gate to doc-test (example)
Diffstat (limited to 'src/libstd/thread')
| -rw-r--r-- | src/libstd/thread/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/thread/mod.rs b/src/libstd/thread/mod.rs index 770044439a5..8df9bee0eb4 100644 --- a/src/libstd/thread/mod.rs +++ b/src/libstd/thread/mod.rs @@ -427,6 +427,7 @@ impl Builder { /// # Examples /// /// ``` + /// #![feature(thread_spawn_unchecked)] /// use std::thread; /// /// let builder = thread::Builder::new(); |
