diff --git a/src/async_resolver.rs b/src/async_resolver.rs index 8495155f..acec5293 100644 --- a/src/async_resolver.rs +++ b/src/async_resolver.rs @@ -2036,7 +2036,6 @@ mod async_resolver_test { resolver.save_negative_answers(dns_response.clone()); - let rrtype_search = Rrtype::A; assert_eq!(dns_response.get_answer().len(), 0); assert_eq!(dns_response.get_additional().len(), 1); assert_eq!( diff --git a/src/async_resolver/config.rs b/src/async_resolver/config.rs index d4f20c21..6dede8a8 100644 --- a/src/async_resolver/config.rs +++ b/src/async_resolver/config.rs @@ -3,8 +3,6 @@ use crate::client::client_connection::ConnectionProtocol; use crate::message::DnsMessage; use crate::tsig::tsig_algorithm::TsigAlgorithm; use std::cmp::max; -use std::io::SeekFrom; -use std::option; use std::{net::{IpAddr,SocketAddr,Ipv4Addr}, time::Duration}; use super::server_info::ServerInfo;