You've already forked AstralRinth
forked from didirus/AstralRinth
chore(clippy): enable and fix many stricter lints (#3783)
* chore(clippy): enable and fix many stricter lints These ensure that the codebase uses more idiomatic, performant, and concise language constructions. * chore: make non-Clippy compiler warnings also deny by default
This commit is contained in:
committed by
GitHub
parent
301967d204
commit
f84f8c1c2b
@@ -522,7 +522,7 @@ async fn index_versions(
|
||||
// Convert to partial versions
|
||||
let mut res_versions: HashMap<DBProjectId, Vec<PartialVersion>> =
|
||||
HashMap::new();
|
||||
for (project_id, version_ids) in versions.iter() {
|
||||
for (project_id, version_ids) in &versions {
|
||||
for version_id in version_ids {
|
||||
// Extract version-specific data fetched
|
||||
// We use 'remove' as every version is only in the map once
|
||||
|
||||
Reference in New Issue
Block a user