From b94daee395c2ed513ea141021e30dcff8e2590c4 Mon Sep 17 00:00:00 2001 From: Kevin Ballard Date: Wed, 12 Feb 2014 22:02:09 -0800 Subject: 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. --- src/libnative/task.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'src/libnative') 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; -- cgit 1.4.1-3-g733a5