Skip to content

Commit

Permalink
fix rebase issues
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed Aug 7, 2018
1 parent 64454d7 commit 6ed4f0e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
7 changes: 0 additions & 7 deletions src/bigint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -710,16 +710,9 @@ impl ShlAssign<usize> for BigInt {
// Negative values need a rounding adjustment if there are any ones in the
// bits that are getting shifted out.
fn shr_round_down(i: &BigInt, rhs: usize) -> bool {
<<<<<<< HEAD
i.is_negative() && biguint::trailing_zeros(&i.data)
.map(|n| n < rhs)
.unwrap_or(false)
=======
i.is_negative()
&& biguint::trailing_zeros(&i.data)
.map(|n| n < rhs)
.unwrap_or(false)
>>>>>>> chore: run rustfmt on all code
}

impl Shr<usize> for BigInt {
Expand Down
5 changes: 0 additions & 5 deletions src/biguint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,7 @@ fn from_bitwise_digits_le(v: &[u8], bits: usize) -> BigUint {
.iter()
.rev()
.fold(0, |acc, &c| (acc << bits) | c as BigDigit)
<<<<<<< HEAD
}).collect();
=======
})
.collect();
>>>>>>> chore: run rustfmt on all code

BigUint::new(data)
}
Expand Down

0 comments on commit 6ed4f0e

Please sign in to comment.