Skip to content

Commit

Permalink
remove unnecessary asssertion
Browse files Browse the repository at this point in the history
  • Loading branch information
ekiwi committed Jan 20, 2025
1 parent 8717097 commit 04998ec
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/bv/io/strings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -372,10 +372,6 @@ fn parse_base_10_to_u64(digits: &[u8]) -> Result<u64, ParseIntError> {
}

fn parse_base_10(mut digits: &[u8], out: &mut [Word]) -> Result<WidthInt, ParseIntError> {
debug_assert!(
digits.len() > MAX_U64_DEC_DIGITS,
"this function is only for large numbers!"
);
// zero out output
crate::bv::arithmetic::clear(out);

Expand Down

0 comments on commit 04998ec

Please sign in to comment.