aboutsummaryrefslogtreecommitdiffstats
path: root/askama_parser/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--askama_parser/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/askama_parser/src/lib.rs b/askama_parser/src/lib.rs
index ba5f6a4..5abc771 100644
--- a/askama_parser/src/lib.rs
+++ b/askama_parser/src/lib.rs
@@ -101,7 +101,7 @@ impl<'a> Ast<'a> {
let msg = format!(
"{}problems parsing template source at row {}, column {} near:\n{}",
if let Some(message) = message {
- format!("error: {message}\n")
+ format!("{message}\n")
} else {
String::new()
},