fix: remove typo in duplicate key error

The message previously contained "at line", but
we don't have a way of knowing the line number so
there was nothing after that. This commit removes
the "at line" part of the message.
This commit is contained in:
daimond113 2025-02-15 00:03:05 +01:00
parent d6e2f611d8
commit 509838bb08
No known key found for this signature in database
GPG key ID: 640DC95EC1190354

View file

@ -172,7 +172,7 @@ where
while let Some((key, value)) = access.next_entry()? {
if map.contains_key(&key) {
return Err(serde::de::Error::custom(format!(
"duplicate key `{key}` at line"
"duplicate key `{key}`"
)));
}