RIMOV, round 8
find ./ -type f -name "*.rs" -exec sed -i "s/ \([a-zA-Z_]\+\): ~\[mut /
mut \1: ~\[/g" {} \;
This commit is contained in:
parent
b4f47eca2a
commit
3e95a13577
5 changed files with 7 additions and 7 deletions
|
|
@ -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>,
|
||||
|
|
|
|||
|
|
@ -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] {
|
||||
|
|
|
|||
|
|
@ -1158,7 +1158,7 @@ pub mod node {
|
|||
use core::vec;
|
||||
|
||||
pub struct T {
|
||||
stack: ~[mut @Node],
|
||||
mut stack: ~[@Node],
|
||||
mut stackpos: int,
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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]};
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue