about summary refs log tree commit diff
path: root/src/libnative
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-02-17 17:31:52 -0800
committerbors <bors@rust-lang.org>2014-02-17 17:31:52 -0800
commit93a2ee807abafa25555b17b6432d02db53f9e756 (patch)
tree5e678a71ec944ab913a723228742bb3a469cd2f5 /src/libnative
parent25147b2644ed569f16f22dc02d10a0a9b7b97c7e (diff)
parent01b31af4bbf7f066bbce00cc4260b63ac75c23b9 (diff)
downloadrust-93a2ee807abafa25555b17b6432d02db53f9e756.tar.gz
rust-93a2ee807abafa25555b17b6432d02db53f9e756.zip
auto merge of #12232 : kballard/rust/taskbuilder-is-a-builder, r=alexcrichton
Delete all the documentation from std::task that references linked
failure.

Tweak TaskBuilder to be more builder-like. `.name()` is now `.named()` and
`.add_wrapper()` is now `.with_wrapper()`. Remove `.watched()` and
`.unwatched()` as they didn't actually do anything.

Closes #6399.
Diffstat (limited to 'src/libnative')
-rw-r--r--src/libnative/task.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libnative/task.rs b/src/libnative/task.rs
index d8f410834f2..b0f063ff06e 100644
--- a/src/libnative/task.rs
+++ b/src/libnative/task.rs
@@ -57,7 +57,6 @@ pub fn spawn(f: proc()) {
 /// inside the task.
 pub fn spawn_opts(opts: TaskOpts, f: proc()) {
     let TaskOpts {
-        watched: _watched,
         notify_chan, name, stack_size,
         logger, stderr, stdout,
     } = opts;