From 7078cca3cb614e1e82da428380b4e16fc3afef46 Mon Sep 17 00:00:00 2001 From: bjorn3 Date: Thu, 21 Jan 2021 14:46:36 +0100 Subject: [PATCH] Remove rotate_left from Int --- src/int/mod.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/int/mod.rs b/src/int/mod.rs index 06054c8..3bea17b 100644 --- a/src/int/mod.rs +++ b/src/int/mod.rs @@ -85,7 +85,6 @@ pub trait Int: fn wrapping_sub(self, other: Self) -> Self; fn wrapping_shl(self, other: u32) -> Self; fn wrapping_shr(self, other: u32) -> Self; - fn rotate_left(self, other: u32) -> Self; fn overflowing_add(self, other: Self) -> (Self, bool); fn aborting_div(self, other: Self) -> Self; fn aborting_rem(self, other: Self) -> Self; @@ -209,10 +208,6 @@ macro_rules! int_impl_common { ::wrapping_shr(self, other) } - fn rotate_left(self, other: u32) -> Self { - ::rotate_left(self, other) - } - fn overflowing_add(self, other: Self) -> (Self, bool) { ::overflowing_add(self, other) } -- 2.26.2.7.g19db9cfb68