aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/io/null_io.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-05-20 08:33:49 +0900
committernsfisis <nsfisis@gmail.com>2026-05-20 08:33:57 +0900
commitf31b101ce1e921a026ba234b1f0a83b0392bc118 (patch)
treeb7ac2aa84d71ebd162cc21aeab0240e7e0544988 /crates/shirabe/src/io/null_io.rs
parent5e31fa33c3b5cf726a57a063b8e7a070869250fe (diff)
downloadphp-shirabe-f31b101ce1e921a026ba234b1f0a83b0392bc118.tar.gz
php-shirabe-f31b101ce1e921a026ba234b1f0a83b0392bc118.tar.zst
php-shirabe-f31b101ce1e921a026ba234b1f0a83b0392bc118.zip
fix(compile): fix all remaining compile errors
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/src/io/null_io.rs')
-rw-r--r--crates/shirabe/src/io/null_io.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/crates/shirabe/src/io/null_io.rs b/crates/shirabe/src/io/null_io.rs
index 2536ad0..1a06e6e 100644
--- a/crates/shirabe/src/io/null_io.rs
+++ b/crates/shirabe/src/io/null_io.rs
@@ -58,16 +58,16 @@ impl IOInterface for NullIO {
) {
}
- fn ask(&mut self, _question: String, default: PhpMixed) -> PhpMixed {
+ fn ask(&self, _question: String, default: PhpMixed) -> PhpMixed {
default
}
- fn ask_confirmation(&mut self, _question: String, default: bool) -> bool {
+ fn ask_confirmation(&self, _question: String, default: bool) -> bool {
default
}
fn ask_and_validate(
- &mut self,
+ &self,
_question: String,
_validator: Box<dyn Fn(PhpMixed) -> PhpMixed>,
_attempts: Option<i64>,
@@ -76,12 +76,12 @@ impl IOInterface for NullIO {
default
}
- fn ask_and_hide_answer(&mut self, _question: String) -> Option<String> {
+ fn ask_and_hide_answer(&self, _question: String) -> Option<String> {
None
}
fn select(
- &mut self,
+ &self,
_question: String,
_choices: Vec<String>,
default: PhpMixed,