mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-23 06:51:01 +01:00
remove unused imports
This commit is contained in:
parent
161d40897c
commit
b10288f751
3 changed files with 4 additions and 7 deletions
|
@ -3,7 +3,6 @@ use dptree::{
|
||||||
di::{DependencySupplier, Insert},
|
di::{DependencySupplier, Insert},
|
||||||
Handler,
|
Handler,
|
||||||
};
|
};
|
||||||
use std::sync::Arc;
|
|
||||||
|
|
||||||
pub trait HandlerExt<IR> {
|
pub trait HandlerExt<IR> {
|
||||||
fn add_command<C>(self, bot_name: String) -> Self
|
fn add_command<C>(self, bot_name: String) -> Self
|
||||||
|
|
|
@ -1,14 +1,12 @@
|
||||||
use crate::{
|
use crate::{
|
||||||
dispatching::{update_listeners, update_listeners::UpdateListener},
|
dispatching::{update_listeners, update_listeners::UpdateListener},
|
||||||
dispatching2::{handler_ext::HandlerExt, Dispatcher},
|
dispatching2::{handler_ext::HandlerExt, Dispatcher},
|
||||||
error_handlers::{LoggingErrorHandler, OnError},
|
error_handlers::LoggingErrorHandler,
|
||||||
utils::command::BotCommand,
|
utils::command::BotCommand,
|
||||||
};
|
};
|
||||||
use dptree::di::{DependencyMap, Injectable};
|
use dptree::di::{DependencyMap, Injectable};
|
||||||
use futures::StreamExt;
|
use std::{fmt::Debug, marker::PhantomData};
|
||||||
use std::{fmt::Debug, future::Future, marker::PhantomData, sync::Arc};
|
use teloxide_core::requests::Requester;
|
||||||
use teloxide_core::{requests::Requester, types::Message};
|
|
||||||
use tokio_stream::wrappers::UnboundedReceiverStream;
|
|
||||||
|
|
||||||
/// A [REPL] for commands.
|
/// A [REPL] for commands.
|
||||||
///
|
///
|
||||||
|
|
|
@ -4,7 +4,7 @@ use crate::{
|
||||||
error_handlers::{LoggingErrorHandler, OnError},
|
error_handlers::{LoggingErrorHandler, OnError},
|
||||||
};
|
};
|
||||||
use dptree::di::{DependencyMap, Injectable};
|
use dptree::di::{DependencyMap, Injectable};
|
||||||
use std::{fmt::Debug, sync::Arc};
|
use std::fmt::Debug;
|
||||||
use teloxide_core::requests::Requester;
|
use teloxide_core::requests::Requester;
|
||||||
|
|
||||||
/// A [REPL] for messages.
|
/// A [REPL] for messages.
|
||||||
|
|
Loading…
Reference in a new issue