Skip to content

Commit e111344

Browse files
authored
Merge pull request #9 from gvozdvmozgu/must-use-attribute-syntax
chore: fix `must_use` attribute syntax
2 parents 141a0f0 + c3a7a40 commit e111344

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

async_ui_web_html/src/common_events.rs

+1-1
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)