Skip to content

Commit fe9d419

Browse files
uintwebmaster128
andcommitted
style
Co-authored-by: Simon Warta <[email protected]>
1 parent 03c77d9 commit fe9d419

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/std/src/math/uint256.rs

-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ impl Uint256 {
102102
/// A conversion from `Uint128` that, unlike the one provided by the `From` trait,
103103
/// can be used in a `const` context.
104104
pub const fn from_uint128(num: Uint128) -> Self {
105-
let num = num.u128();
106105
let bytes = num.to_le_bytes();
107106

108107
Self::from_le_bytes([

0 commit comments

Comments
 (0)