chore: fix beta clippy warnings

This commit is contained in:
link2xt
2023-08-28 03:23:30 +00:00
parent 3e07f2c173
commit 9ef34890fa
3 changed files with 10 additions and 10 deletions

View File

@@ -71,7 +71,7 @@ async fn get_unique_quota_roots_and_usage(
// messages could be received and so the usage could have been changed
*unique_quota_roots
.entry(quota_root_name.clone())
.or_insert_with(Vec::new) = quota.resources;
.or_default() = quota.resources;
}
}
}