From c979948d5dd2deea69312ddc7647da0f9e3d3e53 Mon Sep 17 00:00:00 2001 From: James Ebert Date: Thu, 8 Aug 2024 02:12:58 -0700 Subject: [PATCH] chore: fix clippy issue Signed-off-by: James Ebert --- aries/aries_vcx/src/handlers/out_of_band/receiver.rs | 2 +- aries/aries_vcx/src/handlers/out_of_band/sender.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aries/aries_vcx/src/handlers/out_of_band/receiver.rs b/aries/aries_vcx/src/handlers/out_of_band/receiver.rs index 466efa021f..77b5ea23b8 100644 --- a/aries/aries_vcx/src/handlers/out_of_band/receiver.rs +++ b/aries/aries_vcx/src/handlers/out_of_band/receiver.rs @@ -93,7 +93,7 @@ impl OutOfBandReceiver { } pub fn to_url(&self, domain_path: &str) -> VcxResult { - let mut oob_url = Url::parse(&domain_path)?; + let mut oob_url = Url::parse(domain_path)?; let oob_query = "oob=".to_owned() + &self.to_base64_url(); oob_url.set_query(Some(&oob_query)); Ok(oob_url) diff --git a/aries/aries_vcx/src/handlers/out_of_band/sender.rs b/aries/aries_vcx/src/handlers/out_of_band/sender.rs index 17e4a6bb78..bbb43af22c 100644 --- a/aries/aries_vcx/src/handlers/out_of_band/sender.rs +++ b/aries/aries_vcx/src/handlers/out_of_band/sender.rs @@ -143,7 +143,7 @@ impl OutOfBandSender { } pub fn to_url(&self, domain_path: &str) -> VcxResult { - let mut oob_url = Url::parse(&domain_path)?; + let mut oob_url = Url::parse(domain_path)?; let oob_query = "oob=".to_owned() + &self.to_base64_url(); oob_url.set_query(Some(&oob_query)); Ok(oob_url)