Merge branch 'unused_import' into 'main'

Move an import to resolve a warning.

See merge request tpo/core/arti!1407
This commit is contained in:
Alexander Færøy 2023-07-14 13:35:27 +00:00
commit ce64ade742
1 changed files with 2 additions and 1 deletions

View File

@ -74,7 +74,7 @@ use tor_rtcompat::Runtime;
/// A Result as returned by this crate.
pub type Result<T> = std::result::Result<T, Error>;
use crate::factory::{BootstrapReporter, ChannelFactory};
use crate::factory::BootstrapReporter;
pub use event::{ConnBlockage, ConnStatus, ConnStatusEvents};
use tor_rtcompat::scheduler::{TaskHandle, TaskSchedule};
@ -331,6 +331,7 @@ impl<R: Runtime> ChanMgr<R> {
&self,
target: impl tor_linkspec::IntoOwnedChanTarget,
) -> Result<Channel> {
use factory::ChannelFactory as _;
let target = target.to_owned();
self.mgr