From 73bc2bb0585118c1eaa000df467bea4f3cdfada2 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Wed, 25 May 2022 07:51:18 +1000 Subject: [PATCH] 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>`. --- src/util/uint.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/uint.rs b/src/util/uint.rs index 8a52f2ff..ccc5a68b 100644 --- a/src/util/uint.rs +++ b/src/util/uint.rs @@ -178,7 +178,7 @@ macro_rules! construct_uint { impl PartialOrd for $name { #[inline] - fn partial_cmp(&self, other: &$name) -> Option<::core::cmp::Ordering> { + fn partial_cmp(&self, other: &$name) -> Option { Some(self.cmp(&other)) } }