mirror of
https://github.com/modrinth/code.git
synced 2026-08-30 19:46:33 +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();
|
||||
for project in &projects {
|
||||
*grouped_projects.entry(project.inner.status)
|
||||
grouped_projects.entry(project.inner.status)
|
||||
.or_default()
|
||||
.push(project.inner.id.into());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user