You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@asyncband.apache.org by ti...@apache.org on 2026/10/03 06:37:02 UTC
(asyncband) 16/22: style(phaser): backtick .await in the must_use message
This is an automated email from the ASF dual-hosted git repository.
tisonkun pushed a commit to branch tison/deslopify
in repository https://gitbox.apache.org/repos/asf/asyncband.git
commit 07de3a4acd2d645cb858ff6957393bdf25036083
Author: tison <wa...@gmail.com>
AuthorDate: Sat Oct 3 14:29:33 2026 +0800
style(phaser): backtick .await in the must_use message
Every other future type in the crate uses the message with `.await` in
backticks; this one diverged by the missing markup alone.
---
asyncband/src/phaser/mod.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/asyncband/src/phaser/mod.rs b/asyncband/src/phaser/mod.rs
index 70c524d..b96cba5 100644
--- a/asyncband/src/phaser/mod.rs
+++ b/asyncband/src/phaser/mod.rs
@@ -503,7 +503,7 @@ impl Drop for PhaserParticipant {
}
}
-#[must_use = "futures do nothing unless you .await or poll them"]
+#[must_use = "futures do nothing unless you `.await` or poll them"]
struct PhaserWait<'a> {
phaser: &'a Phaser,
observed: u64,
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@asyncband.apache.org
For additional commands, e-mail: commits-help@asyncband.apache.org