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

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

View file

@ -46,7 +46,7 @@ where
.lock()
.await
.remove(&chat_id)
.map_or_else(|| Err(InMemStorageError::RowNotFound), |_| Ok(()))
.map_or(Err(InMemStorageError::RowNotFound), |_| Ok(()))
})
}