Skip to content

Commit

Permalink
refact: delete unnecesary clone
Browse files Browse the repository at this point in the history
  • Loading branch information
justRkive committed Dec 3, 2024
1 parent 7bd403a commit 7c1cfb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/async_resolver/resolution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ impl Resolution {
// start timer
let start = Instant::now();

let server_info_arc = server_entry.get_info().clone();
let server_info_arc = server_entry.get_info();
lookup_response_result = self.transmit_query_to_server(
server_info_arc,
timeout_duration
Expand Down

0 comments on commit 7c1cfb1

Please sign in to comment.