fix:Apply suggestions from clippy 1.88

This commit is contained in:
houseme
2025-06-27 18:16:29 +08:00
parent 35489ea352
commit 749537664f
108 changed files with 642 additions and 682 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ impl<'de> Deserialize<'de> for Functions {
let mut inner_data = Functions::default();
while let Some(key) = map.next_key::<&str>()? {
if hash.contains(&key) {
return Err(Error::custom(format!("duplicate condition operator `{}`", key)));
return Err(Error::custom(format!("duplicate condition operator `{key}`")));
}
hash.insert(key);