From 0a7fcd30f2c49b3063d528d6adfe8ce3472f43ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BC=8A=E6=AC=A7?= Date: Sat, 10 Aug 2024 19:48:33 +0800 Subject: [PATCH] Fix `ToString` trait. --- Cargo.lock | 26 +++++++++++++++++++++++++- packages/yew/src/html/classes.rs | 2 +- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 33e4534cc09..233ffcf6740 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1116,7 +1116,7 @@ dependencies = [ "gloo-dialogs 0.2.0", "gloo-events 0.2.0", "gloo-file 0.3.0", - "gloo-history 0.2.0", + "gloo-history 0.2.1", "gloo-net 0.5.0", "gloo-render 0.2.0", "gloo-storage 0.3.0", @@ -4256,3 +4256,27 @@ dependencies = [ "wasm-bindgen", "web-sys", ] + +[[patch.unused]] +name = "hikari-boot" +version = "0.1.0" + +[[patch.unused]] +name = "hikari-components" +version = "0.1.0" + +[[patch.unused]] +name = "tairitsu-boot" +version = "0.1.0" + +[[patch.unused]] +name = "tairitsu-database" +version = "0.1.0" + +[[patch.unused]] +name = "tairitsu-utils" +version = "0.1.0" + +[[patch.unused]] +name = "tairitsu-vm" +version = "0.1.0" diff --git a/packages/yew/src/html/classes.rs b/packages/yew/src/html/classes.rs index 063e0e6a740..6483e4bce76 100644 --- a/packages/yew/src/html/classes.rs +++ b/packages/yew/src/html/classes.rs @@ -174,7 +174,7 @@ impl ToString for Classes { iter.next() .map(|first| build_attr_value(first, iter)) .unwrap_or_default() - .fmt(f) + .to_string() } }