aboutsummaryrefslogtreecommitdiffstats
path: root/src/run/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/run/mod.rs')
-rw-r--r--src/run/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/run/mod.rs b/src/run/mod.rs
index c3ceb76..009954b 100644
--- a/src/run/mod.rs
+++ b/src/run/mod.rs
@@ -640,7 +640,7 @@ pub fn run(se: Arc<Mutex<Session>>, parsed: Ast<PreExpansion>) -> String {
match result {
Ok(_) => String::new(),
- Err(e) => format!("{}", e.error_message()),
+ Err(e) => e.error_message(),
}
}