Fix Clippy

This commit is contained in:
Temirkhan Myrzamadi 2019-12-31 00:55:12 +06:00
parent 243b4c9173
commit fd941beec0

View file

@ -21,7 +21,7 @@ pub trait ErrorHandler<E> {
/// ## Example
/// ```
/// # #[tokio::main]
/// # async fn main() {
/// # async fn main_() {
/// use teloxide::dispatching::error_handler::{ErrorHandler, Ignore};
///
/// Ignore.handle_error(()).await;
@ -50,7 +50,7 @@ impl<E> ErrorHandler<E> for Ignore {
/// ## Examples
/// ```
/// # #[tokio::main]
/// # async fn main() {
/// # async fn main_() {
/// use std::convert::{Infallible, TryInto};
///
/// use teloxide::dispatching::error_handler::{ErrorHandler, IgnoreSafe};
@ -95,7 +95,7 @@ impl ErrorHandler<Infallible> for IgnoreSafe {
/// ## Example
/// ```
/// # #[tokio::main]
/// # async fn main() {
/// # async fn main_() {
/// use teloxide::dispatching::error_handler::{ErrorHandler, Print};
///
/// Print.handle_error(()).await;