aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/io
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/io')
-rw-r--r--crates/shirabe/src/io/console_io.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/crates/shirabe/src/io/console_io.rs b/crates/shirabe/src/io/console_io.rs
index 987819d..a4a3c21 100644
--- a/crates/shirabe/src/io/console_io.rs
+++ b/crates/shirabe/src/io/console_io.rs
@@ -589,8 +589,6 @@ impl IOInterfaceImmutable for ConsoleIO {
}
if !is_array(&result) {
- // PHP: (string) array_search($result, $choices, true)
- // TODO(phase-b): array_search signature requires IndexMap<String, String>
let result_str = result.as_string().unwrap_or("").to_string();
let haystack: IndexMap<String, String> = match &choices {
PhpMixed::List(l) => l