more stupid stuff

This commit is contained in:
abbie 2022-02-15 21:34:00 +00:00
parent ab04bbcdb6
commit ef41729efb
No known key found for this signature in database
GPG key ID: 04DDE463F9200F87

View file

@ -16,11 +16,11 @@ fn main() {
.expect("Registers file not read properly."); .expect("Registers file not read properly.");
let sreg: Vec<&str> = lreg.split(",").collect(); let sreg: Vec<&str> = lreg.split(",").collect();
let mut x = 0; let mut x = 0;
x = x + 1;
for s in sreg { for s in sreg {
let c = s.replace("\n",""); let c = s.replace("\n","");
let int: i32 = c.parse().unwrap(); let int: i32 = c.parse().unwrap();
registers[x] = int; registers[x] = int;
x = x + 1;
} }
} }