aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-05-17 15:35:48 +0900
committernsfisis <nsfisis@gmail.com>2026-05-17 15:35:48 +0900
commitfae6321aceb06ccc0a253d162fea003b32047497 (patch)
tree495bce9c2d91b7eee72b54745aab8ae2ab492e12 /crates/shirabe/src
parentdf307d563da8f32d7d2b7d9cba7ae88ad697bd07 (diff)
downloadphp-shirabe-fae6321aceb06ccc0a253d162fea003b32047497.tar.gz
php-shirabe-fae6321aceb06ccc0a253d162fea003b32047497.tar.zst
php-shirabe-fae6321aceb06ccc0a253d162fea003b32047497.zip
fix(compile): remove duplicate impl BaseCommand blocks with wrong signatures
Diffstat (limited to 'crates/shirabe/src')
-rw-r--r--crates/shirabe/src/command/config_command.rs26
-rw-r--r--crates/shirabe/src/command/repository_command.rs26
2 files changed, 0 insertions, 52 deletions
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
@@ -2195,32 +2195,6 @@ impl BaseCommand for ConfigCommand {
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
- }
-
- fn inner_mut(&mut self) -> &mut Command {
- &mut self.inner
- }
-
- fn composer(&self) -> Option<&Composer> {
- self.composer.as_ref()
- }
-
fn composer_mut(&mut self) -> &mut Option<Composer> {
&mut self.composer
}
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
@@ -462,32 +462,6 @@ impl BaseCommand for RepositoryCommand {
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
- }
-
- fn inner_mut(&mut self) -> &mut Command {
- &mut self.inner
- }
-
- fn composer(&self) -> Option<&Composer> {
- self.composer.as_ref()
- }
-
fn composer_mut(&mut self) -> &mut Option<Composer> {
&mut self.composer
}