diff --git a/library/core/src/num/int_macros.rs b/library/core/src/num/int_macros.rs index 05d8216ac27eb..c6570b9ef4290 100644 --- a/library/core/src/num/int_macros.rs +++ b/library/core/src/num/int_macros.rs @@ -3566,11 +3566,6 @@ macro_rules! int_impl { without modifying the original"] #[inline(always)] pub const fn signum(self) -> Self { - // Picking the right way to phrase this is complicated - // () - // so delegate it to `Ord` which is already producing -1/0/+1 - // exactly like we need and can be the place to deal with the complexity. - crate::intrinsics::three_way_compare(self, 0) as Self }