forked from gentoo-utils/gentoo-utils
remove leftover dbgs!
This commit is contained in:
@@ -145,7 +145,7 @@ impl Atom {
|
|||||||
impl PartialEq for VersionSuffix {
|
impl PartialEq for VersionSuffix {
|
||||||
fn eq(&self, other: &Self) -> bool {
|
fn eq(&self, other: &Self) -> bool {
|
||||||
self.kind == other.kind
|
self.kind == other.kind
|
||||||
&& match dbg!((&self.number, &other.number)) {
|
&& match (&self.number, &other.number) {
|
||||||
(Some(a), Some(b)) => a.0 == b.0,
|
(Some(a), Some(b)) => a.0 == b.0,
|
||||||
(Some(a), None) if a.get().chars().all(|c| c == '0') => true,
|
(Some(a), None) if a.get().chars().all(|c| c == '0') => true,
|
||||||
(None, Some(b)) if b.get().chars().all(|c| c == '0') => true,
|
(None, Some(b)) if b.get().chars().all(|c| c == '0') => true,
|
||||||
@@ -215,7 +215,7 @@ impl Ord for VersionSuffixes {
|
|||||||
let mut b = other.get().iter();
|
let mut b = other.get().iter();
|
||||||
|
|
||||||
loop {
|
loop {
|
||||||
match dbg!((a.next(), b.next())) {
|
match (a.next(), b.next()) {
|
||||||
(Some(a), Some(b)) => match a.cmp(b) {
|
(Some(a), Some(b)) => match a.cmp(b) {
|
||||||
Ordering::Less => break Ordering::Less,
|
Ordering::Less => break Ordering::Less,
|
||||||
Ordering::Greater => break Ordering::Greater,
|
Ordering::Greater => break Ordering::Greater,
|
||||||
|
|||||||
Reference in New Issue
Block a user