Skip to content

Commit

Permalink
Remove obsolete ordering note on Uint::mul_wide (#304)
Browse files Browse the repository at this point in the history
  • Loading branch information
tarcieri authored Nov 23, 2023
1 parent c2646df commit 32ab360
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/uint/mul.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,6 @@ impl<const LIMBS: usize> Uint<LIMBS> {
/// Compute "wide" multiplication, with a product twice the size of the input.
///
/// Returns a tuple containing the `(lo, hi)` components of the product.
///
/// # Ordering note
///
/// Releases of `crypto-bigint` prior to v0.3 used `(hi, lo)` ordering
/// instead. This has been changed for better consistency with the rest of
/// the APIs in this crate.
///
/// For more info see: <https://github.com/RustCrypto/crypto-bigint/issues/4>
pub const fn mul_wide<const HLIMBS: usize>(&self, rhs: &Uint<HLIMBS>) -> (Self, Uint<HLIMBS>) {
let mut i = 0;
let mut lo = Self::ZERO;
Expand Down

0 comments on commit 32ab360

Please sign in to comment.