Skip to content

Commit aa3db9b

Browse files
fix: use to_string for BigInt
1 parent e59013a commit aa3db9b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/pretty-format/src

packages/pretty-format/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ fn print_big_int(val: &BigInt) -> String {
2525
format!(
2626
"{}n",
2727
String::from(
28-
val.to_string_with_radix(10)
28+
val.to_string(10)
2929
.expect("Number should be formatted as string.")
3030
)
3131
)

0 commit comments

Comments
 (0)