From 636ddabc350e2165c09fafb9115fc9bd4919b436 Mon Sep 17 00:00:00 2001 From: Kevin Lefevre Date: Tue, 10 Sep 2024 14:59:38 +0200 Subject: [PATCH] fix: needless borrow Signed-off-by: Kevin Lefevre --- crates/common/src/commit/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/common/src/commit/client.rs b/crates/common/src/commit/client.rs index b61fd42c..284e320c 100644 --- a/crates/common/src/commit/client.rs +++ b/crates/common/src/commit/client.rs @@ -51,7 +51,7 @@ impl SignerClient { /// requested. // TODO: add more docs on how proxy keys work pub async fn get_pubkeys(&self) -> Result { - let res = self.client.get(&format!("{}{}", self.url, GET_PUBKEYS_PATH)).send().await?; + let res = self.client.get(format!("{}{}", self.url, GET_PUBKEYS_PATH)).send().await?; if !res.status().is_success() { return Err(SignerClientError::FailedRequest {