Skip to content

Commit 41cf859

Browse files
committed
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>`.
1 parent 3286677 commit 41cf859

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/uint.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ macro_rules! construct_uint {
178178

179179
impl PartialOrd for $name {
180180
#[inline]
181-
fn partial_cmp(&self, other: &$name) -> Option<::core::cmp::Ordering> {
181+
fn partial_cmp(&self, other: &$name) -> Option<core::cmp::Ordering> {
182182
Some(self.cmp(&other))
183183
}
184184
}

0 commit comments

Comments
 (0)