mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 22:46:39 +01:00
Remove the unnecessary docs
This commit is contained in:
parent
fd941beec0
commit
3b4a8d1bb5
2 changed files with 0 additions and 6 deletions
|
@ -1,7 +1,4 @@
|
|||
//! Error handlers.
|
||||
//!
|
||||
//! Looks quite strange for now, but with stabilised asynchronous traits it
|
||||
//! should be prettier.
|
||||
|
||||
// Infallible used here instead of `!` to be compatible with rust <1.41.
|
||||
use std::{convert::Infallible, fmt::Debug, future::Future, pin::Pin};
|
||||
|
|
|
@ -13,9 +13,6 @@ pub trait Handler<T, E> {
|
|||
|
||||
/// The implementation of `Handler` for `Fn(U) -> Future<Output = Result<(),
|
||||
/// E>>`.
|
||||
///
|
||||
/// Looks quite strange for now, but with stabilised asynchronous traits it
|
||||
/// should be prettier.
|
||||
impl<T, E, F, Fut> Handler<T, E> for F
|
||||
where
|
||||
F: Fn(T) -> Fut,
|
||||
|
|
Loading…
Reference in a new issue