aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/downloader/zip_downloader.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-07-18 18:51:01 +0900
committernsfisis <nsfisis@gmail.com>2026-07-18 18:51:01 +0900
commit134acc52c0f339dd8bf96d4ffc508cdebe66b7d2 (patch)
tree8e49a78301adf0ae75412fa820c69d4a1e6cc880 /crates/shirabe/src/downloader/zip_downloader.rs
parent8cf9f977d90d0a8e8bfcb868a7ebcd4e1309c517 (diff)
downloadphp-shirabe-134acc52c0f339dd8bf96d4ffc508cdebe66b7d2.tar.gz
php-shirabe-134acc52c0f339dd8bf96d4ffc508cdebe66b7d2.tar.zst
php-shirabe-134acc52c0f339dd8bf96d4ffc508cdebe66b7d2.zip
chore: rustfmt
Diffstat (limited to 'crates/shirabe/src/downloader/zip_downloader.rs')
-rw-r--r--crates/shirabe/src/downloader/zip_downloader.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/crates/shirabe/src/downloader/zip_downloader.rs b/crates/shirabe/src/downloader/zip_downloader.rs
index c149505b..9fa68c53 100644
--- a/crates/shirabe/src/downloader/zip_downloader.rs
+++ b/crates/shirabe/src/downloader/zip_downloader.rs
@@ -285,7 +285,11 @@ impl ZipDownloader {
file: &str,
path: &str,
) -> anyhow::Result<Option<PhpMixed>> {
- let mut zip_archive = self.zip_archive_object.borrow_mut().take().unwrap_or_default();
+ let mut zip_archive = self
+ .zip_archive_object
+ .borrow_mut()
+ .take()
+ .unwrap_or_default();
let result: anyhow::Result<Option<PhpMixed>> = (|| {
let retval = if !file_exists(file) || filesize(file).is_none_or(|s| s == 0) {