mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
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.