more stupid stuff
This commit is contained in:
parent
ab04bbcdb6
commit
ef41729efb
1 changed files with 1 additions and 1 deletions
|
@ -16,11 +16,11 @@ fn main() {
|
|||
.expect("Registers file not read properly.");
|
||||
let sreg: Vec<&str> = lreg.split(",").collect();
|
||||
let mut x = 0;
|
||||
x = x + 1;
|
||||
for s in sreg {
|
||||
let c = s.replace("\n","");
|
||||
let int: i32 = c.parse().unwrap();
|
||||
registers[x] = int;
|
||||
x = x + 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue