We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03c77d9 commit fe9d419Copy full SHA for fe9d419
packages/std/src/math/uint256.rs
@@ -102,7 +102,6 @@ impl Uint256 {
102
/// A conversion from `Uint128` that, unlike the one provided by the `From` trait,
103
/// can be used in a `const` context.
104
pub const fn from_uint128(num: Uint128) -> Self {
105
- let num = num.u128();
106
let bytes = num.to_le_bytes();
107
108
Self::from_le_bytes([
0 commit comments