Skip to content

Commit

Permalink
deleted warnings in utils.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
FranciscaOrtegaG committed Oct 24, 2023
1 parent 3620cda commit db8e335
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils.rs
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit db8e335

Please sign in to comment.