chore: Clippy fixes >:(

This commit is contained in:
Ginger committed 2026-06-16 12:36:24 -04:00
1 parent 8f4e95b4b9
commit 0932c929c3
1 file changed
+1 -1
+1 -1
View File
@@ -53,7 +53,7 @@ impl Resolver {
conf.add_name_server(ns);
}
opts.cache_size = config.dns_cache_entries as u64;
opts.cache_size = u64::from(config.dns_cache_entries);
opts.preserve_intermediates = true;
opts.negative_min_ttl = Some(Duration::from_secs(config.dns_min_ttl_nxdomain));
opts.negative_max_ttl = Some(Duration::from_hours(720));