mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-14 11:44:04 +01:00
Import Arc into update_listeners.rs
This commit is contained in:
parent
4a314c894d
commit
5db72a26a2
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ use crate::{
|
|||
RequestError,
|
||||
};
|
||||
|
||||
use std::{convert::TryInto, time::Duration};
|
||||
use std::{convert::TryInto, sync::Arc, time::Duration};
|
||||
|
||||
/// A generic update listener.
|
||||
pub trait UpdateListener<E>: Stream<Item = Result<Update, E>> {
|
||||
|
|
Loading…
Add table
Reference in a new issue