about summary refs log tree commit diff
path: root/src/libnative
diff options
context:
space:
mode:
authorKevin Ballard <kevin@sb.org>2014-02-12 22:02:09 -0800
committerKevin Ballard <kevin@sb.org>2014-02-16 15:34:02 -0800
commitb94daee395c2ed513ea141021e30dcff8e2590c4 (patch)
tree0a354cfb5d63f0e417cc99a89b202f46af6dc35b /src/libnative
parent0ba6d4885fc71ca7156e1fe689edb939e1d9d418 (diff)
downloadrust-b94daee395c2ed513ea141021e30dcff8e2590c4.tar.gz
rust-b94daee395c2ed513ea141021e30dcff8e2590c4.zip
Clean up std::task docs, make TaskBuilder a real builder
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.
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;