about summary refs log tree commit diff
path: root/src/libstd/thread
diff options
context:
space:
mode:
authorAaron Turon <aturon@mozilla.com>2015-04-13 15:15:32 -0700
committerAaron Turon <aturon@mozilla.com>2015-04-14 08:15:45 -0700
commita9fd41e1f984fdfecb78ba9570bb159854c58b16 (patch)
treed7dcda50ed1a28a5f3c1e1c7af3225516bb12522 /src/libstd/thread
parent6e0fb70ff6effe7b7be2c5fe951e9161613e6707 (diff)
downloadrust-a9fd41e1f984fdfecb78ba9570bb159854c58b16.tar.gz
rust-a9fd41e1f984fdfecb78ba9570bb159854c58b16.zip
Fallout: move from scoped to spawn
Diffstat (limited to 'src/libstd/thread')
-rw-r--r--src/libstd/thread/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/thread/mod.rs b/src/libstd/thread/mod.rs
index 29fcd155283..90ef94bb6e1 100644
--- a/src/libstd/thread/mod.rs
+++ b/src/libstd/thread/mod.rs
@@ -93,6 +93,7 @@
 //! a join before any relevant stack frames are popped:
 //!
 //! ```rust
+//! # #![feature(scoped)]
 //! use std::thread;
 //!
 //! let guard = thread::scoped(move || {