Apply suggestions from code review

Co-authored-by: Hirrolot <hirrolot@gmail.com>
This commit is contained in:
Waffle Lapkin 2021-05-21 13:27:50 +03:00 committed by Waffle
parent 00093664c7
commit a8306ec3ff
2 changed files with 3 additions and 3 deletions

View file

@ -132,8 +132,8 @@ use teloxide_core::{
pub trait UpdateListener<E>: for<'a> AsUpdateStream<'a, E> {
/// Stop listening for updates.
///
/// This function is not guaranteed to have an immidiate effect. That is
/// some listners can return updates even after [`stop`] is called (e.g.:
/// This function is not guaranteed to have an immediate effect. That is
/// some listeners can return updates even after [`stop`] is called (e.g.:
/// because of buffering).
///
/// [`stop`]: UpdateListener::stop

View file

@ -9,7 +9,7 @@
| `macros` | Re-exports macros from [`teloxide-macros`]. |
| `native-tls` | Enables the [`native-tls`] TLS implementation (enabled by default). |
| `rustls` | Enables the [`rustls`] TLS implementation. |
| `ctrlc_handler` | Enables [`Dispatcher::setup_ctrlc_handler`](dispatching::Dispatcher::setup_ctrlc_handler) function. |
| `ctrlc_handler` | Enables the [`Dispatcher::setup_ctrlc_handler`](dispatching::Dispatcher::setup_ctrlc_handler) function. |
| `auto-send` | Enables the `AutoSend` bot adaptor. |
| `cache-me` | Enables the `CacheMe` bot adaptor. |
| `frunk` | Enables [`teloxide::utils::UpState`]. |