remove unused imports

This commit is contained in:
p0lunin 2021-12-26 20:06:21 +02:00
parent 161d40897c
commit b10288f751
3 changed files with 4 additions and 7 deletions

View file

@ -3,7 +3,6 @@ use dptree::{
di::{DependencySupplier, Insert},
Handler,
};
use std::sync::Arc;
pub trait HandlerExt<IR> {
fn add_command<C>(self, bot_name: String) -> Self

View file

@ -1,14 +1,12 @@
use crate::{
dispatching::{update_listeners, update_listeners::UpdateListener},
dispatching2::{handler_ext::HandlerExt, Dispatcher},
error_handlers::{LoggingErrorHandler, OnError},
error_handlers::LoggingErrorHandler,
utils::command::BotCommand,
};
use dptree::di::{DependencyMap, Injectable};
use futures::StreamExt;
use std::{fmt::Debug, future::Future, marker::PhantomData, sync::Arc};
use teloxide_core::{requests::Requester, types::Message};
use tokio_stream::wrappers::UnboundedReceiverStream;
use std::{fmt::Debug, marker::PhantomData};
use teloxide_core::requests::Requester;
/// A [REPL] for commands.
///

View file

@ -4,7 +4,7 @@ use crate::{
error_handlers::{LoggingErrorHandler, OnError},
};
use dptree::di::{DependencyMap, Injectable};
use std::{fmt::Debug, sync::Arc};
use std::fmt::Debug;
use teloxide_core::requests::Requester;
/// A [REPL] for messages.