Skip to content

Commit 1eff119

Browse files
committed
remove unused fn
1 parent 2bce7ef commit 1eff119

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

sway-lib-std/src/u128.sw

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -664,19 +664,6 @@ impl core::ops::Divide for U128 {
664664
}
665665
}
666666

667-
fn u64_checked_mul(a: u64, b: u64) -> Option<u64> {
668-
let of = asm(a: a, b: b, res) {
669-
mul res a b;
670-
of: u64
671-
};
672-
673-
if of != 0 {
674-
return None;
675-
}
676-
677-
Some(a * b)
678-
}
679-
680667
fn u64_checked_add(a: u64, b: u64) -> Option<u64> {
681668
let of = asm(a: a, b: b, res) {
682669
add res a b;

0 commit comments

Comments
 (0)