Update formatting
timw4mail/rusty-numbers/pipeline/head There was a failure building this commit Details

This commit is contained in:
Timothy Warren 2020-09-11 15:25:05 -04:00
parent d90b762754
commit d6b0825b9a
2 changed files with 7 additions and 7 deletions

View File

@ -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::{

View File

@ -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),
} },
} }
} }
} }