Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions crates/starknet-types-core/src/u256/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down