about summary refs log tree commit diff
path: root/src/libcore/task.rs
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2012-03-26 18:35:18 -0700
committerGraydon Hoare <graydon@mozilla.com>2012-03-26 18:35:18 -0700
commit6e6798c4e17d9ffa33c0573f329c772e9d96739e (patch)
tree64d4a01e7ed41092983f623b9b0fe0e5abc25200 /src/libcore/task.rs
parent34283ce7e840cbec4ec5704616614dbccdc08e81 (diff)
downloadrust-6e6798c4e17d9ffa33c0573f329c772e9d96739e.tar.gz
rust-6e6798c4e17d9ffa33c0573f329c772e9d96739e.zip
Bulk-edit mutable -> mut.
Diffstat (limited to 'src/libcore/task.rs')
-rw-r--r--src/libcore/task.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libcore/task.rs b/src/libcore/task.rs
index c6dfd326e03..dcd784fb2a3 100644
--- a/src/libcore/task.rs
+++ b/src/libcore/task.rs
@@ -157,8 +157,8 @@ Provides detailed control over the properties and behavior of new tasks.
 // the run function move them in.
 enum task_builder {
     task_builder_({
-        mutable opts: task_opts,
-        mutable gen_body: fn@(+fn~()) -> fn~(),
+        mut opts: task_opts,
+        mut gen_body: fn@(+fn~()) -> fn~(),
         can_not_copy: option<comm::port<()>>
     })
 }
@@ -187,8 +187,8 @@ fn task_builder() -> task_builder {
     let body_identity = fn@(+body: fn~()) -> fn~() { body };
 
     task_builder_({
-        mutable opts: default_task_opts(),
-        mutable gen_body: body_identity,
+        mut opts: default_task_opts(),
+        mut gen_body: body_identity,
         can_not_copy: none
     })
 }