mirror of
https://github.com/modrinth/code.git
synced 2026-08-31 03:55:59 +00:00
fix: remove dereference
):
This commit is contained in:
@@ -1959,7 +1959,7 @@ where
|
|||||||
|
|
||||||
let mut grouped_projects: HashMap<ProjectStatus, Vec<ProjectId>> = HashMap::new();
|
let mut grouped_projects: HashMap<ProjectStatus, Vec<ProjectId>> = HashMap::new();
|
||||||
for project in &projects {
|
for project in &projects {
|
||||||
*grouped_projects.entry(project.inner.status)
|
grouped_projects.entry(project.inner.status)
|
||||||
.or_default()
|
.or_default()
|
||||||
.push(project.inner.id.into());
|
.push(project.inner.id.into());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user