Skip to content

Commit

Permalink
ref: Fix assigning_clones clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
szokeasaurusrex committed May 2, 2024
1 parent e7dc344 commit 038f6ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ impl Config {
bail!("Two different url values supplied: `{token_url}` (from token), `{url}`.");
}

self.cached_base_url = url.to_owned();
url.clone_into(&mut self.cached_base_url);
self.ini
.set_to(Some("defaults"), "url".into(), self.cached_base_url.clone());
Ok(())
Expand Down

0 comments on commit 038f6ee

Please sign in to comment.