diff options
author | Canop <cano.petrole@gmail.com> | 2020-02-15 22:46:43 +0100 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2020-02-15 22:46:43 +0100 |
commit | c35fd8ea84a0f6c441afd4c66edb631de123f1ae (patch) | |
tree | 07384d595d3b4d01830108b7f71b72a74657d307 /src/tree_build/bid.rs | |
parent | ff115ed2406c1a77b163272c13069567db2f44fe (diff) |
fix -i and -I launch arguments being ignored
fix #202
(there's a design problem in clap... using strings as keys isn't
sound)
Diffstat (limited to 'src/tree_build/bid.rs')
-rw-r--r-- | src/tree_build/bid.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tree_build/bid.rs b/src/tree_build/bid.rs index e053af9..a7fe3f9 100644 --- a/src/tree_build/bid.rs +++ b/src/tree_build/bid.rs @@ -1,7 +1,7 @@ use { super::bline::BLine, id_arena::Id, - std::cmp::{self, Ordering}, + std::cmp::Ordering, }; pub type BId = Id<BLine>; @@ -31,7 +31,7 @@ impl Ord for SortableBId { } } impl PartialOrd for SortableBId { - fn partial_cmp(&self, other: &SortableBId) -> Option<cmp::Ordering> { + fn partial_cmp(&self, other: &SortableBId) -> Option<Ordering> { Some(self.cmp(other)) } } |