diff --git a/src/transfer/cancel.rs b/src/transfer/cancel.rs index 4837b0f9..5199fff4 100644 --- a/src/transfer/cancel.rs +++ b/src/transfer/cancel.rs @@ -1,7 +1,6 @@ /// Various helpers to deal with closing connections and cancellation use super::*; use crate::util; -use futures::Future; /// A weird mixture of [`futures::future::Abortable`], [`async_std::sync::Condvar`] and [`futures::future::Select`] tailored to our Ctrl+C handling. /// diff --git a/src/transit.rs b/src/transit.rs index a16f417a..f414f465 100644 --- a/src/transit.rs +++ b/src/transit.rs @@ -546,7 +546,6 @@ impl<'de> serde::Deserialize<'de> for RelayHint { } use crate::core::Ability; -use std::convert::{TryFrom, TryInto}; impl TryFrom<&DirectHint> for IpAddr { type Error = std::net::AddrParseError;