Skip to content

Commit

Permalink
chore: run cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
CosminPerRam committed Nov 19, 2024
1 parent 7c5aa42 commit 2fc86c6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/dns_cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -395,8 +395,12 @@ impl DnsCache {

(refresh_due, new_timers)
}

fn find_instance_names<'a>(from: &'a HashMap<String, Vec<DnsRecordBox>>, ty_domain: &str, now: u64) -> Vec<&'a String> {

fn find_instance_names<'a>(
from: &'a HashMap<String, Vec<DnsRecordBox>>,
ty_domain: &str,
now: u64,
) -> Vec<&'a String> {
from.get(ty_domain)
.into_iter()
.flatten()
Expand Down

0 comments on commit 2fc86c6

Please sign in to comment.