From db8e335bb6540ce277ab4ca00387da9ad3d0aa22 Mon Sep 17 00:00:00 2001 From: FranciscaOrtegaG Date: Tue, 24 Oct 2023 09:48:55 -0300 Subject: [PATCH] deleted warnings in utils.rs --- src/utils.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils.rs b/src/utils.rs index 80245ba7..2472068d 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -1,5 +1,5 @@ use crate::message::type_rtype::Rtype; -use crate::domain_name::{DomainName, self}; +use crate::domain_name::DomainName; pub fn check_label_name(name: String) -> bool { if name.len() > 63 || name.len() == 0 { @@ -50,7 +50,7 @@ pub fn get_string_stype(stype: Rtype) -> String { #[cfg(test)] mod utils_test { - use crate::domain_name::{DomainName, self}; + use crate::domain_name::DomainName; use super::check_label_name; use super::domain_validity_syntax;