Skip to content

Commit

Permalink
Fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kpcyrd committed Dec 15, 2024
1 parent 8f18d93 commit 109458f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structs/dns.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ pub enum Record {
Unknown,
}

impl<'a> From<dns_parser::RData<'a>> for Record {
impl From<dns_parser::RData<'_>> for Record {
fn from(rdata: dns_parser::RData) -> Record {
use dns_parser::RData::*;

Expand Down

0 comments on commit 109458f

Please sign in to comment.