mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-11 07:36:53 +00:00
fix:Apply suggestions from clippy 1.88
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user