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 ffe3eb8..ec9adf9 100644
--- a/src/parser.rs
+++ b/src/parser.rs
@@ -355,7 +355,7 @@ impl<'a> Parser<'a> {
lo: pos,
hi: pos + 1,
desc: format!("expected {} hex digits \
- after a `u` escape", len),
+ after a `{}` escape", len, c),
})
}
}