Skip to content

Commit

Permalink
Deleted warnings in lookup.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
FranciscaOrtegaG committed Oct 24, 2023
1 parent ff2908e commit d567f1a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/resolver/lookup.rs
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
use crate::client::udp_connection::ClientUDPConnection;
use crate::dns_cache::DnsCache;
use crate::domain_name::DomainName;
use crate::message::DnsMessage;
use crate::message::type_rtype::Rtype;
use crate::message::resource_record::ResourceRecord;
use crate::client::{client_connection::ClientConnection,Client};
use crate::client::client_connection::ClientConnection;
use crate::message::class_qclass::Qclass;
use crate::message::type_qtype::Qtype;
use crate::message::question::Question;
use crate::client::client_error::ClientError;
use futures_util::{FutureExt,task::Waker};
use std::pin::Pin;
use std::task::{Poll,Context};
Expand Down Expand Up @@ -154,6 +152,7 @@ pub async fn lookup_stub( //FIXME: podemos ponerle de nombre lookup_strategy y
#[cfg(test)]
mod async_resolver_test {
// use tokio::runtime::Runtime;
use crate::client::udp_connection::ClientUDPConnection;
use crate::{ domain_name::DomainName, dns_cache::DnsCache};
use super::lookup_stub;
use tokio::time::Duration;
Expand Down

0 comments on commit d567f1a

Please sign in to comment.