From 32dab4ad276953c959fce9f5ed78af83ee4947dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20Beno=C3=AEt?= Date: Sat, 31 Dec 2022 10:22:22 +0100 Subject: [PATCH] main - Fixed formatting --- src/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) }