From f31b101ce1e921a026ba234b1f0a83b0392bc118 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 20 May 2026 08:33:49 +0900 Subject: fix(compile): fix all remaining compile errors Co-Authored-By: Claude Opus 4.7 (1M context) --- crates/shirabe/src/io/null_io.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'crates/shirabe/src/io/null_io.rs') 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 PhpMixed>, _attempts: Option, @@ -76,12 +76,12 @@ impl IOInterface for NullIO { default } - fn ask_and_hide_answer(&mut self, _question: String) -> Option { + fn ask_and_hide_answer(&self, _question: String) -> Option { None } fn select( - &mut self, + &self, _question: String, _choices: Vec, default: PhpMixed, -- cgit v1.3.1