diff options
| author | Ben Striegel <ben.striegel@gmail.com> | 2013-01-29 22:14:23 -0500 |
|---|---|---|
| committer | Ben Striegel <ben.striegel@gmail.com> | 2013-01-30 23:19:08 -0500 |
| commit | 3e95a1357756db52ff7e6b6376f8c6ed59925971 (patch) | |
| tree | 1c74faba4e7f65b2356fbaec32406cebb7a215b4 | |
| parent | b4f47eca2a99c1ead824e9cf85b12d9efc14eabb (diff) | |
RIMOV, round 8
find ./ -type f -name "*.rs" -exec sed -i "s/ \([a-zA-Z_]\+\): ~\[mut /
mut \1: ~\[/g" {} \;
| -rw-r--r-- | src/librustc/middle/liveness.rs | 4 | ||||
| -rw-r--r-- | src/librustc/middle/trans/type_use.rs | 2 | ||||
| -rw-r--r-- | src/libstd/rope.rs | 2 | ||||
| -rw-r--r-- | src/libstd/sha1.rs | 2 | ||||
| -rw-r--r-- | src/libsyntax/print/pp.rs | 4 |
5 files changed, 7 insertions, 7 deletions
diff --git a/src/librustc/middle/liveness.rs b/src/librustc/middle/liveness.rs index 90bcdb54e19..e725f8629fb 100644 --- a/src/librustc/middle/liveness.rs +++ b/src/librustc/middle/liveness.rs @@ -640,8 +640,8 @@ struct Liveness { tcx: ty::ctxt, ir: @IrMaps, s: Specials, - successors: ~[mut LiveNode], - users: ~[mut users], + mut successors: ~[LiveNode], + mut users: ~[users], // The list of node IDs for the nested loop scopes // we're in. loop_scope: DVec<node_id>, diff --git a/src/librustc/middle/trans/type_use.rs b/src/librustc/middle/trans/type_use.rs index c19db4a75b9..c11d4f5ebc0 100644 --- a/src/librustc/middle/trans/type_use.rs +++ b/src/librustc/middle/trans/type_use.rs @@ -49,7 +49,7 @@ pub const use_repr: uint = 1u; /* Dependency on size/alignment/mode and take/drop glue */ pub const use_tydesc: uint = 2u; /* Takes the tydesc, or compares */ -pub type ctx = {ccx: @crate_ctxt, uses: ~[mut type_uses]}; +pub type ctx = {ccx: @crate_ctxt, mut uses: ~[type_uses]}; pub fn type_uses_for(ccx: @crate_ctxt, fn_id: def_id, n_tps: uint) -> ~[type_uses] { diff --git a/src/libstd/rope.rs b/src/libstd/rope.rs index 977008e5995..6bd9c825d43 100644 --- a/src/libstd/rope.rs +++ b/src/libstd/rope.rs @@ -1158,7 +1158,7 @@ pub mod node { use core::vec; pub struct T { - stack: ~[mut @Node], + mut stack: ~[@Node], mut stackpos: int, } diff --git a/src/libstd/sha1.rs b/src/libstd/sha1.rs index c2599864c90..4a7e67f22b9 100644 --- a/src/libstd/sha1.rs +++ b/src/libstd/sha1.rs @@ -70,7 +70,7 @@ pub fn sha1() -> Sha1 { {h: ~[mut u32], mut len_low: u32, mut len_high: u32, - msg_block: ~[mut u8], + mut msg_block: ~[u8], mut msg_block_idx: uint, mut computed: bool, work_buf: @~[mut u32]}; diff --git a/src/libsyntax/print/pp.rs b/src/libsyntax/print/pp.rs index 8174240f68a..ee1684db1f2 100644 --- a/src/libsyntax/print/pp.rs +++ b/src/libsyntax/print/pp.rs @@ -254,8 +254,8 @@ pub type printer_ = { mut space: int, // number of spaces left on line mut left: uint, // index of left side of input stream mut right: uint, // index of right side of input stream - token: ~[mut token], // ring-buffr stream goes through - size: ~[mut int], // ring-buffer of calculated sizes + mut token: ~[token], // ring-buffr stream goes through + mut size: ~[int], // ring-buffer of calculated sizes mut left_total: int, // running size of stream "...left" mut right_total: int, // running size of stream "...right" // pseudo-stack, really a ring too. Holds the |
