mirror of
https://github.com/telemt/telemt.git
synced 2026-05-01 17:34:09 +03:00
Preserve synchronous IP cleanup queue contract + Rustfmt
This commit is contained in:
@@ -88,10 +88,7 @@ impl BeobachtenStore {
|
||||
|
||||
let mut grouped = BTreeMap::<String, Vec<(IpAddr, u64)>>::new();
|
||||
for (class, ip, tries) in entries {
|
||||
grouped
|
||||
.entry(class)
|
||||
.or_default()
|
||||
.push((ip, tries));
|
||||
grouped.entry(class).or_default().push((ip, tries));
|
||||
}
|
||||
|
||||
if grouped.is_empty() {
|
||||
|
||||
Reference in New Issue
Block a user