Update formatting
Some checks failed
timw4mail/rusty-numbers/pipeline/head There was a failure building this commit
Some checks failed
timw4mail/rusty-numbers/pipeline/head There was a failure building this commit
This commit is contained in:
parent
d90b762754
commit
d6b0825b9a
@ -6,14 +6,14 @@ use crate::num::*;
|
|||||||
#[cfg(all(feature = "alloc", not(feature = "std")))]
|
#[cfg(all(feature = "alloc", not(feature = "std")))]
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
#[cfg(all(feature = "alloc", not(feature = "std")))]
|
#[cfg(all(feature = "alloc", not(feature = "std")))]
|
||||||
use alloc::vec::*;
|
|
||||||
#[cfg(all(feature = "alloc", not(feature = "std")))]
|
|
||||||
use alloc::string::*;
|
use alloc::string::*;
|
||||||
|
#[cfg(all(feature = "alloc", not(feature = "std")))]
|
||||||
|
use alloc::vec::*;
|
||||||
|
|
||||||
#[cfg(feature = "std")]
|
#[cfg(feature = "std")]
|
||||||
use std::prelude::v1::*;
|
use std::prelude::v1::*;
|
||||||
|
|
||||||
use core::cmp::{Ordering, PartialOrd, PartialEq};
|
use core::cmp::{Ordering, PartialEq, PartialOrd};
|
||||||
use core::convert::*;
|
use core::convert::*;
|
||||||
use core::mem::replace;
|
use core::mem::replace;
|
||||||
use core::ops::{
|
use core::ops::{
|
||||||
|
@ -65,7 +65,7 @@ impl PartialOrd for Sign {
|
|||||||
Self::Negative => match other {
|
Self::Negative => match other {
|
||||||
Self::Positive => Some(Ordering::Less),
|
Self::Positive => Some(Ordering::Less),
|
||||||
Self::Negative => Some(Ordering::Equal),
|
Self::Negative => Some(Ordering::Equal),
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user