Skip to content

Commit 3e95a13

Browse files
committed
RIMOV, round 8
find ./ -type f -name "*.rs" -exec sed -i "s/ \([a-zA-Z_]\+\): ~\[mut / mut \1: ~\[/g" {} \;
1 parent b4f47ec commit 3e95a13

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

src/librustc/middle/liveness.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -640,8 +640,8 @@ struct Liveness {
640640
tcx: ty::ctxt,
641641
ir: @IrMaps,
642642
s: Specials,
643-
successors: ~[mut LiveNode],
644-
users: ~[mut users],
643+
mut successors: ~[LiveNode],
644+
mut users: ~[users],
645645
// The list of node IDs for the nested loop scopes
646646
// we're in.
647647
loop_scope: DVec<node_id>,

src/librustc/middle/trans/type_use.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ pub const use_repr: uint = 1u; /* Dependency on size/alignment/mode and
4949
take/drop glue */
5050
pub const use_tydesc: uint = 2u; /* Takes the tydesc, or compares */
5151

52-
pub type ctx = {ccx: @crate_ctxt, uses: ~[mut type_uses]};
52+
pub type ctx = {ccx: @crate_ctxt, mut uses: ~[type_uses]};
5353

5454
pub fn type_uses_for(ccx: @crate_ctxt, fn_id: def_id, n_tps: uint)
5555
-> ~[type_uses] {

src/libstd/rope.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1158,7 +1158,7 @@ pub mod node {
11581158
use core::vec;
11591159

11601160
pub struct T {
1161-
stack: ~[mut @Node],
1161+
mut stack: ~[@Node],
11621162
mut stackpos: int,
11631163
}
11641164

src/libstd/sha1.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ pub fn sha1() -> Sha1 {
7070
{h: ~[mut u32],
7171
mut len_low: u32,
7272
mut len_high: u32,
73-
msg_block: ~[mut u8],
73+
mut msg_block: ~[u8],
7474
mut msg_block_idx: uint,
7575
mut computed: bool,
7676
work_buf: @~[mut u32]};

src/libsyntax/print/pp.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,8 @@ pub type printer_ = {
254254
mut space: int, // number of spaces left on line
255255
mut left: uint, // index of left side of input stream
256256
mut right: uint, // index of right side of input stream
257-
token: ~[mut token], // ring-buffr stream goes through
258-
size: ~[mut int], // ring-buffer of calculated sizes
257+
mut token: ~[token], // ring-buffr stream goes through
258+
mut size: ~[int], // ring-buffer of calculated sizes
259259
mut left_total: int, // running size of stream "...left"
260260
mut right_total: int, // running size of stream "...right"
261261
// pseudo-stack, really a ring too. Holds the

0 commit comments

Comments
 (0)