From fff15b8ced182a5fae980029d448df5b9f20d5a4 Mon Sep 17 00:00:00 2001 From: purelualight Date: Fri, 24 Apr 2026 19:50:30 +0800 Subject: [PATCH] chore: remove extra of in comment Signed-off-by: purelualight --- crates/starknet-types-core/src/u256/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/starknet-types-core/src/u256/mod.rs b/crates/starknet-types-core/src/u256/mod.rs index 01f9b0fe..92b74d76 100644 --- a/crates/starknet-types-core/src/u256/mod.rs +++ b/crates/starknet-types-core/src/u256/mod.rs @@ -146,7 +146,7 @@ impl U256 { let string_without_zero_padding = string_without_prefix.trim_start_matches('0'); let (high, low) = if string_without_zero_padding.is_empty() { - // The string was uniquely made out of of `0` + // The string was uniquely made out of `0` (0, 0) } else if string_without_zero_padding.len() > 64 { return Err(FromStrError::StringTooLong); @@ -189,7 +189,7 @@ impl U256 { let string_without_zero_padding = dec_str.trim_start_matches('0'); let (high, low) = if string_without_zero_padding.is_empty() { - // The string was uniquely made out of of `0` + // The string was uniquely made out of `0` (0, 0) } else if string_without_zero_padding.len() > 78 { return Err(FromStrError::StringTooLong);