From fae6321aceb06ccc0a253d162fea003b32047497 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 17 May 2026 15:35:48 +0900 Subject: fix(compile): remove duplicate impl BaseCommand blocks with wrong signatures --- crates/shirabe/src/command/config_command.rs | 26 ------------------------ crates/shirabe/src/command/repository_command.rs | 26 ------------------------ 2 files changed, 52 deletions(-) (limited to 'crates/shirabe/src') diff --git a/crates/shirabe/src/command/config_command.rs b/crates/shirabe/src/command/config_command.rs index a539d69..39ada9a 100644 --- a/crates/shirabe/src/command/config_command.rs +++ b/crates/shirabe/src/command/config_command.rs @@ -2182,32 +2182,6 @@ fn key_first_key(value: &PhpMixed) -> Option { None } -impl BaseCommand for ConfigCommand { - fn inner(&self) -> &Command { - &self.inner - } - - fn inner_mut(&mut self) -> &mut Command { - &mut self.inner - } - - fn composer(&self) -> Option<&Composer> { - self.composer.as_ref() - } - - fn composer_mut(&mut self) -> Option<&mut Composer> { - self.composer.as_mut() - } - - fn io(&self) -> Option<&dyn IOInterface> { - self.io.as_ref() - } - - fn io_mut(&mut self) -> Option<&mut dyn IOInterface> { - self.io.as_mut() - } -} - impl BaseCommand for ConfigCommand { fn inner(&self) -> &Command { &self.inner diff --git a/crates/shirabe/src/command/repository_command.rs b/crates/shirabe/src/command/repository_command.rs index 86afe80..c1c3218 100644 --- a/crates/shirabe/src/command/repository_command.rs +++ b/crates/shirabe/src/command/repository_command.rs @@ -449,32 +449,6 @@ impl RepositoryCommand { } } -impl BaseCommand for RepositoryCommand { - fn inner(&self) -> &Command { - &self.inner - } - - fn inner_mut(&mut self) -> &mut Command { - &mut self.inner - } - - fn composer(&self) -> Option<&Composer> { - self.composer.as_ref() - } - - fn composer_mut(&mut self) -> Option<&mut Composer> { - self.composer.as_mut() - } - - fn io(&self) -> Option<&dyn IOInterface> { - self.io.as_ref() - } - - fn io_mut(&mut self) -> Option<&mut dyn IOInterface> { - self.io.as_mut() - } -} - impl BaseCommand for RepositoryCommand { fn inner(&self) -> &Command { &self.inner -- cgit v1.3.1