Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/parser/src/lexed_str.rs')
-rw-r--r--crates/parser/src/lexed_str.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/parser/src/lexed_str.rs b/crates/parser/src/lexed_str.rs
index dcf397142c..edc3f406a6 100644
--- a/crates/parser/src/lexed_str.rs
+++ b/crates/parser/src/lexed_str.rs
@@ -289,8 +289,7 @@ impl<'a> Converter<'a> {
let error_msg = if has_unterminated {
format!(
- "unknown literal prefix `{}` (note: check for unterminated string literal)",
- token_text
+ "unknown literal prefix `{token_text}` (note: check for unterminated string literal)"
)
} else {
"unknown literal prefix".to_owned()