aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-07-15 19:13:42 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-07-15 19:13:42 -0700
commit3a7ec7f4c4716d2967aedab2ef3d051c9cfc2041 (patch)
tree89c9774f1230534d864acd6e2b4ddf235bb52921
parentc4d9e5c0b4f867a00e4a1042d59549fcdb11a074 (diff)
downloadmilf-rs-3a7ec7f4c4716d2967aedab2ef3d051c9cfc2041.tar.gz
milf-rs-3a7ec7f4c4716d2967aedab2ef3d051c9cfc2041.zip
Update an error message with \U support
-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),
})
}
}