summaryrefslogtreecommitdiff
path: root/src/syntax/parser.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/syntax/parser.rs')
-rw-r--r--src/syntax/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syntax/parser.rs b/src/syntax/parser.rs
index 4bc25a30..801fdfc8 100644
--- a/src/syntax/parser.rs
+++ b/src/syntax/parser.rs
@@ -1047,7 +1047,7 @@ fn validate_dict(p: &mut Parser, m: Marker) {
};
if !used.insert(key.clone()) {
- first.convert_to_error(eco_format!("duplicate key: {}", key));
+ first.convert_to_error(eco_format!("duplicate key: {key}"));
child.make_erroneous();
}
}