From b5970aaac627fe4e699a7cbe0b7656cde06f1744 Mon Sep 17 00:00:00 2001 From: Artemy Date: Thu, 11 Aug 2022 14:34:18 +0300 Subject: [PATCH] refactor: deleted the delusional code --- src/main.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/main.rs b/src/main.rs index 6f9180c..812ec7c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -21,11 +21,7 @@ fn main() { if args.verbose == true { println!("Running: {}\n", args.file); } - let file_input = fs::read_to_string(args.file) - .expect("File reading error") - .parse() - .unwrap(); - + let file_input = fs::read_to_string(args.file).expect("File reading error"); let mut onint = Interpreter::new(file_input); onint.run();