Skip to content

Commit

Permalink
fix: update trait
Browse files Browse the repository at this point in the history
  • Loading branch information
Pablo1107 committed Feb 5, 2025
1 parent c82c07e commit 60e6a7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dns.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ trait Info {
}

pub trait Requests {
fn update_request(
fn update_request<'a>(
&self,
ip: IpAddr,
id: &'a str,
Expand All @@ -41,7 +41,7 @@ pub trait Requests {
fn delete_request(
&self,
id: &'a str,
) -> DeleteDnsRecord;
) -> DeleteDnsRecord<'a>;
}
impl Clone_ for DnsRecord {
fn clone(&self) -> Self {
Expand Down

0 comments on commit 60e6a7c

Please sign in to comment.