Remove outdated comments and switches

This commit is contained in:
Nikolay Volf 2018-08-22 14:35:12 +03:00 committed by GitHub
parent fb14e1fbfd
commit 47b27711df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -753,7 +753,6 @@ macro_rules! construct_uint {
}
/// Overflowing multiplication by u32
#[allow(dead_code)] // not used when multiplied with inline assembly
fn overflowing_mul_u32(self, other: u32) -> (Self, bool) {
let $name(ref arr) = self;
let mut ret = [0u64; $n_words];
@ -772,8 +771,6 @@ macro_rules! construct_uint {
impl_std_for_uint_internals!($name, $n_words);
/// Converts from big endian representation bytes in memory
/// Can also be used as (&slice).into(), as it is default `From`
/// slice implementation for U256
pub fn from_big_endian(slice: &[u8]) -> Self {
assert!($n_words * 8 >= slice.len());
@ -1376,4 +1373,4 @@ macro_rules! impl_quickcheck_arbitrary_for_uint {
}
construct_uint!(U256, 4);
construct_uint!(U512, 8);
construct_uint!(U512, 8);