From 9cf517ba46a034a859d6944cd82bc0259b153c2d Mon Sep 17 00:00:00 2001 From: Damir Shamanaev Date: Fri, 24 Jan 2025 22:34:17 +0300 Subject: [PATCH] more fixes --- crates/sui-framework/packages/move-stdlib/sources/macros.move | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/sui-framework/packages/move-stdlib/sources/macros.move b/crates/sui-framework/packages/move-stdlib/sources/macros.move index c4eba3c0af194..f9e4382905d1c 100644 --- a/crates/sui-framework/packages/move-stdlib/sources/macros.move +++ b/crates/sui-framework/packages/move-stdlib/sources/macros.move @@ -34,7 +34,7 @@ public macro fun num_divide_and_round_up<$T>($x: $T, $y: $T): $T { else x / y + 1 } -public macro fun num_pow<$T>($base: $T, $exponent: u8): $T { +public macro fun num_pow($base: _, $exponent: u8): _ { let mut base = $base; let mut exponent = $exponent; let mut res = 1;