mirror of
https://github.com/teloxide/teloxide.git
synced 2024-10-24 09:57:18 +02:00
Fix Clippy
This commit is contained in:
parent
243b4c9173
commit
fd941beec0
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue