summaryrefslogtreecommitdiffstats
path: root/src/repl/handler.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/repl/handler.rs')
-rw-r--r--src/repl/handler.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/repl/handler.rs b/src/repl/handler.rs
index 45836ba..a061742 100644
--- a/src/repl/handler.rs
+++ b/src/repl/handler.rs
@@ -111,7 +111,8 @@ impl ReplCmdHandler {
ReplCmd::ReadFile(file) => {
let mut contents = String::new();
let mut file = fs::File::open(file).expect("Unable to open file");
- file.read_to_string(&mut contents).expect("Unable to read file");
+ file.read_to_string(&mut contents)
+ .expect("Unable to read file");
self.handle(ReplCmd::Submit(contents))?;
}
}