mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-04 06:19:44 +00:00
prefer btreemap over hashmap
This commit is contained in:
committed by
Aiden McClelland
parent
f8472135f5
commit
7622616856
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user