diff --git a/src/dispatching/update_listeners/polling.rs b/src/dispatching/update_listeners/polling.rs index 00a5c013..1fc6273f 100644 --- a/src/dispatching/update_listeners/polling.rs +++ b/src/dispatching/update_listeners/polling.rs @@ -366,8 +366,6 @@ impl Stream for PollingStream<'_, B> { #[test] fn polling_is_send() { - use crate::dispatching::update_listeners::AsUpdateStream; - let bot = crate::Bot::new("TOKEN"); #[allow(deprecated)] let mut polling = polling(bot, None, None, None);