Skip to content

Commit c3a7a40

Browse files
committed
chore: fix must_use attribute syntax
1 parent 141a0f0 commit c3a7a40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

async_ui_web_html/src/common_events.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use web_sys::{Element, HtmlElement};
33

44
macro_rules! make_event_impl {
55
($ev_name:literal, $func_name:ident, $ty:ty, $link:tt) => {
6-
#[must_use("the returned object is a Future+Stream that does nothing unless polled")]
6+
#[must_use = "the returned object is a Future+Stream that does nothing unless polled"]
77
#[doc = "Like [until_event][EmitEvent::until_event] for the `"]
88
#[doc = $ev_name]
99
#[doc = "` event."]

0 commit comments

Comments
 (0)