prefer btreemap over hashmap

This commit is contained in:
Aiden McClelland
2021-09-28 14:00:45 -06:00
committed by Aiden McClelland
parent f8472135f5
commit 7622616856
16 changed files with 103 additions and 83 deletions

View File

@@ -1,4 +1,4 @@
use std::collections::HashMap;
use std::collections::BTreeMap;
use std::fmt;
use std::str::FromStr;
@@ -187,7 +187,7 @@ pub enum NotificationSubtype {
BackupReport {
server_attempted: bool,
server_error: Option<String>,
packages: HashMap<String, Option<String>>,
packages: BTreeMap<String, Option<String>>,
},
}
impl NotificationSubtype {