Skip to content

Commit

Permalink
chore: fix clippy issue
Browse files Browse the repository at this point in the history
Signed-off-by: James Ebert <jamesebert.k@gmail.com>
  • Loading branch information
JamesKEbert committed Aug 8, 2024
1 parent 7e3c94a commit c979948
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aries/aries_vcx/src/handlers/out_of_band/receiver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ impl OutOfBandReceiver {
}

pub fn to_url(&self, domain_path: &str) -> VcxResult<Url> {
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)
Expand Down
2 changes: 1 addition & 1 deletion aries/aries_vcx/src/handlers/out_of_band/sender.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ impl OutOfBandSender {
}

pub fn to_url(&self, domain_path: &str) -> VcxResult<Url> {
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)
Expand Down

0 comments on commit c979948

Please sign in to comment.