From abe94f9b4d0d072e2477b989715c6c79e97de259 Mon Sep 17 00:00:00 2001 From: Huon Wilson Date: Fri, 16 Aug 2013 15:41:28 +1000 Subject: doc: correct spelling in documentation. --- src/libstd/task/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libstd/task') diff --git a/src/libstd/task/mod.rs b/src/libstd/task/mod.rs index c38e6f23313..820baec6a79 100644 --- a/src/libstd/task/mod.rs +++ b/src/libstd/task/mod.rs @@ -365,7 +365,7 @@ impl TaskBuilder { spawn::spawn_raw(opts, f); } - /// Runs a task, while transfering ownership of one argument to the child. + /// Runs a task, while transferring ownership of one argument to the child. pub fn spawn_with(&mut self, arg: A, f: ~fn(v: A)) { let arg = Cell::new(arg); do self.spawn { @@ -474,10 +474,10 @@ pub fn spawn_indestructible(f: ~fn()) { pub fn spawn_with(arg: A, f: ~fn(v: A)) { /*! - * Runs a task, while transfering ownership of one argument to the + * Runs a task, while transferring ownership of one argument to the * child. * - * This is useful for transfering ownership of noncopyables to + * This is useful for transferring ownership of noncopyables to * another task. * * This function is equivalent to `task().spawn_with(arg, f)`. -- cgit 1.4.1-3-g733a5