From 591344bcc1e7aa3ff850c9905ab79da85693e15e Mon Sep 17 00:00:00 2001 From: Alexander B <137616408+alexanderblv@users.noreply.github.com> Date: Thu, 13 Jun 2024 09:12:06 +0300 Subject: [PATCH] Update utils.rs --- phase1-wasm/src/utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phase1-wasm/src/utils.rs b/phase1-wasm/src/utils.rs index b97f11d4..c6a2af8e 100644 --- a/phase1-wasm/src/utils.rs +++ b/phase1-wasm/src/utils.rs @@ -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)) }