summaryrefslogtreecommitdiff
path: root/crates/tor-circmgr/src/err.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/tor-circmgr/src/err.rs')
-rw-r--r--crates/tor-circmgr/src/err.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/tor-circmgr/src/err.rs b/crates/tor-circmgr/src/err.rs
index 0570284e0..758614f6d 100644
--- a/crates/tor-circmgr/src/err.rs
+++ b/crates/tor-circmgr/src/err.rs
@@ -1,6 +1,6 @@
//! Declare an error type for tor-circmgr
-use std::{sync::Arc, time::Instant};
+use std::sync::Arc;
use futures::task::SpawnError;
use retry_error::RetryError;
@@ -10,6 +10,7 @@ use oneshot_fused_workaround as oneshot;
use tor_error::{Bug, ErrorKind, HasKind, HasRetryTime};
use tor_linkspec::{LoggedChanTarget, OwnedChanTarget};
use tor_proto::circuit::UniqId;
+use web_time_compat::Instant;
use crate::mgr::RestrictionFailed;