diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2013-08-16 15:41:28 +1000 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2013-08-16 15:41:28 +1000 |
| commit | abe94f9b4d0d072e2477b989715c6c79e97de259 (patch) | |
| tree | 705abd2a2859eeb55a097d6e7b4ccfd080bbb2be /src/libstd/task | |
| parent | 1ad0cf5841e2fb577c4c26a051067fdd06e24796 (diff) | |
| download | rust-abe94f9b4d0d072e2477b989715c6c79e97de259.tar.gz rust-abe94f9b4d0d072e2477b989715c6c79e97de259.zip | |
doc: correct spelling in documentation.
Diffstat (limited to 'src/libstd/task')
| -rw-r--r-- | src/libstd/task/mod.rs | 6 |
1 files changed, 3 insertions, 3 deletions
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<A:Send>(&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<A:Send>(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)`. |
