diff options
| author | bors <bors@rust-lang.org> | 2013-08-18 05:11:58 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-08-18 05:11:58 -0700 |
| commit | 3bc685842802edfcd2918f911268f8e345cf3c26 (patch) | |
| tree | 7ef40025a4a23dfcd30b30ba648f360fa6fa6d04 /src/libstd/task | |
| parent | 600901152c223faad80d7cb419cecccd71803723 (diff) | |
| parent | 6440343a6c26fca12ef2e323fa7738dce9da1986 (diff) | |
| download | rust-3bc685842802edfcd2918f911268f8e345cf3c26.tar.gz rust-3bc685842802edfcd2918f911268f8e345cf3c26.zip | |
auto merge of #8551 : huonw/rust/speling, r=alexcrichton
(This doesn't add/remove `u`s or change `ize` to `ise`, or anything like that.)
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)`. |
