From fd941beec0f047423a64366d375a480b48d982af Mon Sep 17 00:00:00 2001 From: Temirkhan Myrzamadi Date: Tue, 31 Dec 2019 00:55:12 +0600 Subject: [PATCH] Fix Clippy --- src/dispatching/error_handler.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/dispatching/error_handler.rs b/src/dispatching/error_handler.rs index 82a8f344..a8f78ca3 100644 --- a/src/dispatching/error_handler.rs +++ b/src/dispatching/error_handler.rs @@ -21,7 +21,7 @@ pub trait ErrorHandler { /// ## 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 ErrorHandler 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 for IgnoreSafe { /// ## Example /// ``` /// # #[tokio::main] -/// # async fn main() { +/// # async fn main_() { /// use teloxide::dispatching::error_handler::{ErrorHandler, Print}; /// /// Print.handle_error(()).await;