From c3a7a40102457d64a4fff3c13185860aeef1d91c Mon Sep 17 00:00:00 2001 From: Andrey Nikolaev <131762131+gvozdvmozgu@users.noreply.github.com> Date: Fri, 8 Mar 2024 22:28:31 +0000 Subject: [PATCH] chore: fix `must_use` attribute syntax --- async_ui_web_html/src/common_events.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/async_ui_web_html/src/common_events.rs b/async_ui_web_html/src/common_events.rs index 8f748ad..67fc0ed 100644 --- a/async_ui_web_html/src/common_events.rs +++ b/async_ui_web_html/src/common_events.rs @@ -3,7 +3,7 @@ use web_sys::{Element, HtmlElement}; macro_rules! make_event_impl { ($ev_name:literal, $func_name:ident, $ty:ty, $link:tt) => { - #[must_use("the returned object is a Future+Stream that does nothing unless polled")] + #[must_use = "the returned object is a Future+Stream that does nothing unless polled"] #[doc = "Like [until_event][EmitEvent::until_event] for the `"] #[doc = $ev_name] #[doc = "` event."]