diff --git a/src/main.rs b/src/main.rs index 08cc498..50f738d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -58,8 +58,7 @@ fn run_prompt() { /// Load a file and run the script it contains. fn run_file(file: &str) -> ErrorHandler { - let contents = fs::read_to_string(file) - .unwrap_or_else(|_| panic!("Could not load {}", file)); + let contents = fs::read_to_string(file).unwrap_or_else(|_| panic!("Could not load {}", file)); run(contents) }