aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.rs b/src/parser.rs
index 31956bd..f205407 100644
--- a/src/parser.rs
+++ b/src/parser.rs
@@ -305,7 +305,7 @@ pub fn parse_result(src: &str) -> Result<Programme, String> {
let after = &src[off..(off + 40).min(src.len())];
Err(format!(
- "FAIL at {}:{} (offset {})\nexpected: {:#?}\n...{}⟨HERE⟩{}...",
+ "FAIL at {}:{} (offset {})\nexpected: {}\n...{}⟨HERE⟩{}...",
line, col, off, e.expected, before, after
))
}