Update src/dispatching/dialogue/storage/mod.rs

Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>
This commit is contained in:
Hirrolot 2021-05-08 05:43:34 -07:00 committed by GitHub
parent 80e1afaeed
commit de52ea25f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,7 +67,7 @@ pub trait Storage<D> {
where where
D: Send + 'static; D: Send + 'static;
/// Extracts a dialogue indexed by `chat_id`. /// Returns the dialogue indexed by `chat_id`.
#[must_use = "Futures are lazy and do nothing unless polled with .await"] #[must_use = "Futures are lazy and do nothing unless polled with .await"]
fn get_dialogue( fn get_dialogue(
self: Arc<Self>, self: Arc<Self>,