Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
achow101 committed May 4, 2024
1 parent 4244ed3 commit 9367d28
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1661,12 +1661,8 @@ fn dns_thread(
if i >= 20 {
break;
}
let rec = Record::new(
*name,
Class::IN,
Ttl::from_secs(60),
A::new(*node),
);
let rec =
Record::new(*name, Class::IN, Ttl::from_secs(60), A::new(*node));
res.push(rec.clone()).unwrap();
let _ = a_ans_recs_sign.insert(rec);
}
Expand All @@ -1676,12 +1672,8 @@ fn dns_thread(
if i >= 20 {
break;
}
let rec = Record::new(
*name,
Class::IN,
Ttl::from_secs(60),
Aaaa::new(*node),
);
let rec =
Record::new(*name, Class::IN, Ttl::from_secs(60), Aaaa::new(*node));
res.push(rec.clone()).unwrap();
let _ = aaaa_ans_recs_sign.insert(rec);
}
Expand Down

0 comments on commit 9367d28

Please sign in to comment.