summaryrefslogtreecommitdiff
path: root/cli/proc_state.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/proc_state.rs')
-rw-r--r--cli/proc_state.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/cli/proc_state.rs b/cli/proc_state.rs
index aae606c80..07f8a0860 100644
--- a/cli/proc_state.rs
+++ b/cli/proc_state.rs
@@ -160,9 +160,7 @@ impl ProcState {
let progress_bar = ProgressBar::default();
let http_client = HttpClient::new(
Some(root_cert_store.clone()),
- cli_options
- .unsafely_ignore_certificate_errors()
- .map(ToOwned::to_owned),
+ cli_options.unsafely_ignore_certificate_errors().clone(),
)?;
let file_fetcher = FileFetcher::new(
http_cache,