From ff6449a340becfa6bedd8df22507754103a701d0 Mon Sep 17 00:00:00 2001 From: daimond113 Date: Sat, 15 Feb 2025 00:08:47 +0100 Subject: [PATCH] chore: fix formatting --- src/util.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/util.rs b/src/util.rs index c59a254..eb83e4e 100644 --- a/src/util.rs +++ b/src/util.rs @@ -171,9 +171,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}`" - ))); + return Err(serde::de::Error::custom(format!("duplicate key `{key}`"))); } map.insert(key, value);