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:
Tobin C. Harding 2022-05-25 07:51:18 +10:00
parent bffe0e840d
commit 73bc2bb058
1 changed files with 1 additions and 1 deletions

View File

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