Skip to content

Commit

Permalink
cargo make format and clippy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
matheus23 committed Jan 8, 2025
1 parent 8e5c89f commit 76d27f6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions iroh/src/dns/node_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -442,9 +442,8 @@ mod tests {
use iroh_base::{NodeId, SecretKey};
use testresult::TestResult;

use crate::dns::node_info::to_z32;

use super::NodeInfo;
use crate::dns::node_info::to_z32;

#[test]
fn txt_attr_roundtrip() {
Expand Down Expand Up @@ -501,7 +500,7 @@ mod tests {
Record::from_rdata(name.clone(), 30, RData::A(A::new(127, 0, 0, 1))),
// Test a record with a mismatching name
Record::from_rdata(
Name::from_utf8(&format!(
Name::from_utf8(format!(
"_iroh.{}.dns.iroh.link.",
to_z32(&NodeId::from_str(
// Another NodeId
Expand Down

0 comments on commit 76d27f6

Please sign in to comment.