aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/downloader/path_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/path_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/path_downloader.rs')
-rw-r--r--crates/shirabe/src/downloader/path_downloader.rs10
1 files changed, 8 insertions, 2 deletions
diff --git a/crates/shirabe/src/downloader/path_downloader.rs b/crates/shirabe/src/downloader/path_downloader.rs
index b799de5a..eac5a859 100644
--- a/crates/shirabe/src/downloader/path_downloader.rs
+++ b/crates/shirabe/src/downloader/path_downloader.rs
@@ -427,7 +427,10 @@ impl DownloaderInterface for PathDownloader {
Err(_e) => {
if allowed_strategies.contains(&Self::STRATEGY_MIRROR) {
if output {
- self.inner.io.borrow().write_error3("", true, io_interface::NORMAL);
+ self.inner
+ .io
+ .borrow()
+ .write_error3("", true, io_interface::NORMAL);
self.inner.io.borrow().write_error3(
" <error>Symlink failed, fallback to use mirroring!</error>",
true,
@@ -475,7 +478,10 @@ impl DownloaderInterface for PathDownloader {
}
if output {
- self.inner.io.borrow().write_error3("", true, io_interface::NORMAL);
+ self.inner
+ .io
+ .borrow()
+ .write_error3("", true, io_interface::NORMAL);
}
Ok(None)