about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBen Striegel <ben.striegel@gmail.com>2013-01-29 22:12:36 -0500
committerBen Striegel <ben.striegel@gmail.com>2013-01-30 23:18:08 -0500
commitb4f47eca2a99c1ead824e9cf85b12d9efc14eabb (patch)
treec256d4cf900efc77821934da36e3bbf545b1a31b
parent1c9b5a83b27aae5017c1c82f5c9d3876b20d4c37 (diff)
downloadrust-b4f47eca2a99c1ead824e9cf85b12d9efc14eabb.tar.gz
rust-b4f47eca2a99c1ead824e9cf85b12d9efc14eabb.zip
RIMOV, round 7
find ./ -type f -name "*.rs" -exec sed -i "s/ mut \([a-zA-Z_]\+\):
~\[mut / mut \1: ~\[/g" {} \;
-rw-r--r--src/libstd/bitv.rs2
-rw-r--r--src/libstd/map.rs2
-rw-r--r--src/libsyntax/print/pp.rs2
-rw-r--r--src/test/compile-fail/mutable-huh-variance-vec2.rs2
-rw-r--r--src/test/compile-fail/mutable-huh-variance-vec3.rs2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/libstd/bitv.rs b/src/libstd/bitv.rs
index ec7fc431ab7..10c6ac64f65 100644
--- a/src/libstd/bitv.rs
+++ b/src/libstd/bitv.rs
@@ -106,7 +106,7 @@ impl SmallBitv {
 
 struct BigBitv {
     // only mut b/c of clone and lack of other constructor
-    mut storage: ~[mut uint]
+    mut storage: ~[uint]
 }
 
 fn BigBitv(storage: ~[mut uint]) -> BigBitv {
diff --git a/src/libstd/map.rs b/src/libstd/map.rs
index 2fa2825eb4c..7545a6e0bef 100644
--- a/src/libstd/map.rs
+++ b/src/libstd/map.rs
@@ -144,7 +144,7 @@ pub mod chained {
 
     struct HashMap_<K, V> {
         mut count: uint,
-        mut chains: ~[mut Option<@Entry<K,V>>]
+        mut chains: ~[Option<@Entry<K,V>>]
     }
 
     pub type T<K, V> = @HashMap_<K, V>;
diff --git a/src/libsyntax/print/pp.rs b/src/libsyntax/print/pp.rs
index 249dfa8bede..8174240f68a 100644
--- a/src/libsyntax/print/pp.rs
+++ b/src/libsyntax/print/pp.rs
@@ -264,7 +264,7 @@ pub type printer_ = {
     // BEGIN (if there is any) on top of it. Stuff is flushed off the
     // bottom as it becomes irrelevant due to the primary ring-buffer
     // advancing.
-    mut scan_stack: ~[mut uint],
+    mut scan_stack: ~[uint],
     mut scan_stack_empty: bool, // top==bottom disambiguator
     mut top: uint, // index of top of scan_stack
     mut bottom: uint, // index of bottom of scan_stack
diff --git a/src/test/compile-fail/mutable-huh-variance-vec2.rs b/src/test/compile-fail/mutable-huh-variance-vec2.rs
index be3f28a440f..e205bb6b0a2 100644
--- a/src/test/compile-fail/mutable-huh-variance-vec2.rs
+++ b/src/test/compile-fail/mutable-huh-variance-vec2.rs
@@ -12,7 +12,7 @@ fn main() {
     // Note: explicit type annot is required here
     // because otherwise the inference gets smart
     // and assigns a type of ~[mut ~[const int]].
-    let mut v: ~[mut ~[mut int]] = ~[~[0]];
+    let mut v: ~[~[mut int]] = ~[~[0]];
 
     fn f(&&v: ~[mut ~[const int]]) {
         v[0] = ~[3]
diff --git a/src/test/compile-fail/mutable-huh-variance-vec3.rs b/src/test/compile-fail/mutable-huh-variance-vec3.rs
index eaf10e314ae..8046db3cd98 100644
--- a/src/test/compile-fail/mutable-huh-variance-vec3.rs
+++ b/src/test/compile-fail/mutable-huh-variance-vec3.rs
@@ -12,7 +12,7 @@ fn main() {
     // Note: explicit type annot is required here
     // because otherwise the inference gets smart
     // and assigns a type of ~[mut ~[const int]].
-    let mut v: ~[mut ~[mut ~[int]]] = ~[~[~[0]]];
+    let mut v: ~[~[mut ~[int]]] = ~[~[~[0]]];
 
     fn f(&&v: ~[mut ~[mut ~[const int]]]) {
         v[0][1] = ~[mut 3]