summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorOxore <oxore@protonmail.com>2019-11-18 02:41:34 +0300
committerOxore <oxore@protonmail.com>2019-11-18 02:41:34 +0300
commitd5ad463a3c1b43d508fb28b23509e7fe2539d334 (patch)
treefcbb7a5058c18dfc96ab3919f18146e6dd19946a /src/main.rs
parent59e2c93bb5fd4301a7653c568419376374c2c33a (diff)
Implement LUT for opcode to Op translation
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index dc2f600..8eb1648 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -50,7 +50,8 @@ fn main() {
println!("Please, specify ihex file");
return;
}
- let data = fs::read_to_string(&args[1]).unwrap_or_else(|_| panic!("Unable to read file {}", &args[1]));
+ let data =
+ fs::read_to_string(&args[1]).unwrap_or_else(|_| panic!("Unable to read file {}", &args[1]));
let asyncpair = Arc::new((Mutex::new(false), Condvar::new()));
let asyncpair2 = asyncpair.clone();