mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-06 11:35:45 +00:00
Switch from BTree to Hash collections
This commit is contained in:
parent
2f5083278f
commit
f7139548f6
@ -1,5 +1,5 @@
|
||||
use std::{
|
||||
collections::{BTreeMap, BTreeSet},
|
||||
collections::{HashMap, HashSet},
|
||||
ffi::{OsStr, OsString},
|
||||
};
|
||||
|
||||
@ -47,8 +47,8 @@ impl Flag {
|
||||
|
||||
#[derive(Default, PartialEq, Eq, Debug)]
|
||||
pub struct Flags {
|
||||
pub boolean_flags: BTreeSet<&'static str>,
|
||||
pub argument_flags: BTreeMap<&'static str, OsString>,
|
||||
pub boolean_flags: HashSet<&'static str>,
|
||||
pub argument_flags: HashMap<&'static str, OsString>,
|
||||
}
|
||||
|
||||
impl Flags {
|
||||
|
Loading…
x
Reference in New Issue
Block a user