Skip to content

Commit 0d51828

Browse files
wash2mmstick
authored andcommitted
chore: cargo fmt
1 parent b006046 commit 0d51828

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/app_group.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,20 +86,20 @@ impl Ord for AppGroup {
8686
(FilterType::AppIds(_), FilterType::AppIds(_)) => {
8787
self.name.to_lowercase().cmp(&other.name.to_lowercase())
8888
}
89-
(FilterType::Categories {categories,..}, FilterType::AppIds(_)) => {
89+
(FilterType::Categories { categories, .. }, FilterType::AppIds(_)) => {
9090
if let Some(cat_name) = categories.first() {
9191
cat_name.to_lowercase().cmp(&other.name.to_lowercase())
9292
} else {
9393
self.name.to_lowercase().cmp(&other.name.to_lowercase())
9494
}
95-
},
96-
(FilterType::AppIds(_), FilterType::Categories {categories,..}) => {
95+
}
96+
(FilterType::AppIds(_), FilterType::Categories { categories, .. }) => {
9797
if let Some(other_name) = categories.first() {
9898
self.name.to_lowercase().cmp(&other_name.to_lowercase())
9999
} else {
100100
self.name.to_lowercase().cmp(&other.name.to_lowercase())
101101
}
102-
},
102+
}
103103
(a, b) => a.cmp(b),
104104
}
105105
}

0 commit comments

Comments
 (0)