mirror of
https://github.com/pesde-pkg/pesde.git
synced 2025-04-10 22:00:55 +01:00
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:
parent
d6e2f611d8
commit
509838bb08
1 changed files with 1 additions and 1 deletions
|
@ -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}`"
|
||||
)));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue