yew/packages
Kaede Hoshikawa 7ef8e0da18
Mark VNode as #[must_use] (#3387)
This fixes for Rust Release 1.72.
Rust 1.72 makes `From::from` a must use, which effectively makes `html!` a must use.

I have tried various ways to suppress `unused_must_use` for `html!`.
However, it is not effective. So I added `let _ = ` to tests.

I have also made `VNode` a `#[must_use]` so the diagnostic will be easier to understand.

---

* Fix clippy.

* Make html must use.
2023-08-28 20:01:07 +05:00
..
2023-08-28 20:01:07 +05:00