From 7c1cfb1cf6e009961e0fa2df74fff11c9ae3d651 Mon Sep 17 00:00:00 2001 From: Katia Date: Tue, 3 Dec 2024 21:52:19 +0900 Subject: [PATCH] refact: delete unnecesary clone --- src/async_resolver/resolution.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/async_resolver/resolution.rs b/src/async_resolver/resolution.rs index 449a4984..7a3ecf55 100644 --- a/src/async_resolver/resolution.rs +++ b/src/async_resolver/resolution.rs @@ -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