Skip to content
Merged
Show file tree
Hide file tree
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
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/pretty-format/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
if Object::is(val, &JsValue::from_f64(-0.0)) {
"-0".to_owned()
} else {
val.to_string(10)
val.to_string_with_radix(10)

Check failure on line 18 in packages/pretty-format/src/lib.rs

View workflow job for this annotation

GitHub Actions / Rust / Test

no method named `to_string_with_radix` found for reference `&Number` in the current scope

Check failure on line 18 in packages/pretty-format/src/lib.rs

View workflow job for this annotation

GitHub Actions / Rust / Lint

no method named `to_string_with_radix` found for reference `&web_sys::js_sys::Number` in the current scope
.expect("Number should be formatted as string.")
.into()
}
Expand All @@ -25,7 +25,7 @@
format!(
"{}n",
String::from(
val.to_string(10)
val.to_string_with_radix(10)

Check failure on line 28 in packages/pretty-format/src/lib.rs

View workflow job for this annotation

GitHub Actions / Rust / Test

no method named `to_string_with_radix` found for reference `&BigInt` in the current scope

Check failure on line 28 in packages/pretty-format/src/lib.rs

View workflow job for this annotation

GitHub Actions / Rust / Lint

no method named `to_string_with_radix` found for reference `&web_sys::js_sys::BigInt` in the current scope
.expect("Number should be formatted as string.")
)
)
Expand Down
Loading