aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/util/http_downloader.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/util/http_downloader.rs')
-rw-r--r--crates/shirabe/src/util/http_downloader.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/shirabe/src/util/http_downloader.rs b/crates/shirabe/src/util/http_downloader.rs
index b5a4923..3072df2 100644
--- a/crates/shirabe/src/util/http_downloader.rs
+++ b/crates/shirabe/src/util/http_downloader.rs
@@ -124,7 +124,7 @@ impl HttpDownloader {
let curl = if Self::is_curl_enabled() {
Some(CurlDownloader::new(
io.clone_box(),
- std::rc::Rc::clone(&config),
+ config.clone(),
options.clone(),
disable_tls,
))
@@ -134,7 +134,7 @@ impl HttpDownloader {
let rfs = Some(RemoteFilesystem::new(
io.clone_box(),
- std::rc::Rc::clone(&config),
+ config.clone(),
options.clone(),
disable_tls,
None,