Import Arc into update_listeners.rs

This commit is contained in:
Temirkhan Myrzamadi 2020-07-24 16:38:12 +06:00 committed by GitHub
parent 4a314c894d
commit 5db72a26a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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>> {