Skip to content

Commit

Permalink
Merge pull request #9 from gvozdvmozgu/must-use-attribute-syntax
Browse files Browse the repository at this point in the history
chore: fix `must_use` attribute syntax
  • Loading branch information
wishawa authored Mar 9, 2024
2 parents 141a0f0 + c3a7a40 commit e111344
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion async_ui_web_html/src/common_events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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."]
Expand Down

0 comments on commit e111344

Please sign in to comment.