diff options
Diffstat (limited to 'crates/shirabe/src/util/remote_filesystem.rs')
| -rw-r--r-- | crates/shirabe/src/util/remote_filesystem.rs | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/crates/shirabe/src/util/remote_filesystem.rs b/crates/shirabe/src/util/remote_filesystem.rs index ff6f066..fc26775 100644 --- a/crates/shirabe/src/util/remote_filesystem.rs +++ b/crates/shirabe/src/util/remote_filesystem.rs @@ -981,12 +981,10 @@ impl RemoteFilesystem { self.io.write_error3("", true, crate::io::DEBUG); self.io.write_error3( - &sprintf( - "Following redirect (%u) %s", - &[ - PhpMixed::Int(self.redirects), - PhpMixed::String(Url::sanitize(target_url.clone())), - ], + &format!( + "Following redirect ({}) {}", + PhpMixed::Int(self.redirects), + PhpMixed::String(Url::sanitize(target_url.clone())), ), true, crate::io::DEBUG, |
