aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates
diff options
context:
space:
mode:
Diffstat (limited to 'crates')
-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
}