Remove leading colons from ::core::cmp::Ordering
Leading double colons are a relic of edition 2015. Remove the leading double colon from `Option<::core::cmp::Ordering>`.
This commit is contained in:
parent
bffe0e840d
commit
73bc2bb058
|
@ -178,7 +178,7 @@ macro_rules! construct_uint {
|
||||||
|
|
||||||
impl PartialOrd for $name {
|
impl PartialOrd for $name {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn partial_cmp(&self, other: &$name) -> Option<::core::cmp::Ordering> {
|
fn partial_cmp(&self, other: &$name) -> Option<core::cmp::Ordering> {
|
||||||
Some(self.cmp(&other))
|
Some(self.cmp(&other))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue