mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-11 04:21:12 +01:00
Fix indent for where
This commit is contained in:
parent
3f2d049c22
commit
4423a992c0
1 changed files with 4 additions and 4 deletions
|
@ -12,10 +12,10 @@ pub trait ErrorPolicy<E> {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<E, F, Fut> ErrorPolicy<E> for F
|
impl<E, F, Fut> ErrorPolicy<E> for F
|
||||||
where
|
where
|
||||||
F: Fn(E) -> Fut + Sync,
|
F: Fn(E) -> Fut + Sync,
|
||||||
Fut: Future<Output = ()> + Send,
|
Fut: Future<Output = ()> + Send,
|
||||||
E: Send,
|
E: Send,
|
||||||
{
|
{
|
||||||
fn handle_error<'s, 'async_trait>(&'s self, error: E) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
|
fn handle_error<'s, 'async_trait>(&'s self, error: E) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
|
||||||
where
|
where
|
||||||
|
|
Loading…
Reference in a new issue