mirror of
https://github.com/nikolassv/bartib
synced 2024-11-28 06:20:28 +00:00
Fixed formatting
This commit is contained in:
parent
637645dc65
commit
09ac6d71d2
1 changed files with 1 additions and 4 deletions
|
@ -176,10 +176,7 @@ fn group_activities_by_description<'a>(
|
|||
let mut activity_map: BTreeMap<&str, Vec<&'a activity::Activity>> = BTreeMap::new();
|
||||
|
||||
for a in activities {
|
||||
activity_map
|
||||
.entry(&a.description)
|
||||
.or_default()
|
||||
.push(a);
|
||||
activity_map.entry(&a.description).or_default().push(a);
|
||||
}
|
||||
|
||||
activity_map
|
||||
|
|
Loading…
Reference in a new issue