Remove carrying_mul TODO
Add an issue and remove the TODO from the code. ref: https://github.com/rust-bitcoin/rust-bitcoin/issues/2425
This commit is contained in:
parent
8efaf4a300
commit
8bdaf4a34d
|
@ -442,7 +442,6 @@ impl U256 {
|
|||
[self.1 as u64, (self.1 >> 64) as u64, self.0 as u64, (self.0 >> 64) as u64];
|
||||
|
||||
for word in &mut split_le {
|
||||
// TODO: Use `carrying_mul` when stabilized: https://github.com/rust-lang/rust/issues/85532
|
||||
// This will not overflow, for proof see https://github.com/rust-bitcoin/rust-bitcoin/pull/1496#issuecomment-1365938572
|
||||
let n = carry + u128::from(rhs) * u128::from(*word);
|
||||
|
||||
|
|
Loading…
Reference in New Issue