diff --git a/src/dispatching/dialogue/storage/mod.rs b/src/dispatching/dialogue/storage/mod.rs index cfcf7853..3430de5e 100644 --- a/src/dispatching/dialogue/storage/mod.rs +++ b/src/dispatching/dialogue/storage/mod.rs @@ -43,7 +43,7 @@ pub trait Storage<D> { type Error; /// Removes a dialogue indexed by `chat_id`. - #[must_use = "You must .await it as futures are lazy"] + #[must_use = "Futures are lazy and do nothing unless polled with .await"] fn remove_dialogue( self: Arc<Self>, chat_id: i64, @@ -52,7 +52,7 @@ pub trait Storage<D> { D: Send + 'static; /// Updates a dialogue indexed by `chat_id` with `dialogue`. - #[must_use = "You must .await it as futures are lazy"] + #[must_use = "Futures are lazy and do nothing unless polled with .await"] fn update_dialogue( self: Arc<Self>, chat_id: i64, @@ -62,7 +62,7 @@ pub trait Storage<D> { D: Send + 'static; /// Provides a dialogue indexed by `chat_id`. - #[must_use = "You must .await it as futures are lazy"] + #[must_use = "Futures are lazy and do nothing unless polled with .await"] fn get_dialogue( self: Arc<Self>, chat_id: i64,