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
2 changes: 1 addition & 1 deletion phase1-wasm/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use wasm_bindgen::prelude::*;
/// Map an error that implements [std::fmt::Display] to a [JsValue].
pub(crate) fn map_js_err(e: impl std::fmt::Display) -> JsValue {
// Use alternate selector # to activate anyhow::Error inclusion of causes.
// See https://docs.rs/anyhow/1.0.26/anyhow/struct.Error.html#display-representations
// See https://docs.rs/anyhow/1.0.81/anyhow/struct.Error.html#display-representations
JsValue::from_str(&format!("{:#}", e))
}

Expand Down