From 432472808051cb4f1bb9517b858dbc810aaa5a63 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 25 Jul 2026 16:16:33 +0900 Subject: refactor: replace redundant clones with moves Co-Authored-By: Claude Opus 5 --- crates/shirabe/src/util/http_downloader.rs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'crates/shirabe/src/util/http_downloader.rs') diff --git a/crates/shirabe/src/util/http_downloader.rs b/crates/shirabe/src/util/http_downloader.rs index 0c91484d..2346c351 100644 --- a/crates/shirabe/src/util/http_downloader.rs +++ b/crates/shirabe/src/util/http_downloader.rs @@ -126,13 +126,7 @@ impl HttpDownloader { }; let rfs = Some(std::rc::Rc::new(std::cell::RefCell::new( - RemoteFilesystem::new( - io.clone(), - config.clone(), - options.clone(), - disable_tls, - None, - ), + RemoteFilesystem::new(io.clone(), config.clone(), options, disable_tls, None), ))); let mut max_jobs: i64 = 12; -- cgit v1.3.1