diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-06-24 04:51:47 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-06-24 05:02:54 +0900 |
| commit | a8623a5e867825400073d2597dfb3118d6624ef7 (patch) | |
| tree | 7df29f68596765dc3914209e14af4999b721815f /crates/shirabe/src/io/console_io.rs | |
| parent | e87d37a294a4c754585309d391d793a2c9a1287e (diff) | |
| download | php-shirabe-a8623a5e867825400073d2597dfb3118d6624ef7.tar.gz php-shirabe-a8623a5e867825400073d2597dfb3118d6624ef7.tar.zst php-shirabe-a8623a5e867825400073d2597dfb3118d6624ef7.zip | |
chore: unwrap meaningless PhpMixed::String()
Diffstat (limited to 'crates/shirabe/src/io/console_io.rs')
| -rw-r--r-- | crates/shirabe/src/io/console_io.rs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/crates/shirabe/src/io/console_io.rs b/crates/shirabe/src/io/console_io.rs index c83308c..1876db4 100644 --- a/crates/shirabe/src/io/console_io.rs +++ b/crates/shirabe/src/io/console_io.rs @@ -106,14 +106,7 @@ impl ConsoleIO { }; let mapped: Vec<String> = arr .into_iter() - .map(|message| { - format!( - "[{:.1}MiB/{:.2}s] {}", - memory_usage, - time_spent, - PhpMixed::String(message), - ) - }) + .map(|message| format!("[{:.1}MiB/{:.2}s] {}", memory_usage, time_spent, message)) .collect(); PhpMixed::List(mapped.into_iter().map(PhpMixed::String).collect()) } else { |
