aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/util/process_executor.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/util/process_executor.rs')
-rw-r--r--crates/shirabe/src/util/process_executor.rs17
1 files changed, 0 insertions, 17 deletions
diff --git a/crates/shirabe/src/util/process_executor.rs b/crates/shirabe/src/util/process_executor.rs
index 36025ea..0b88b9f 100644
--- a/crates/shirabe/src/util/process_executor.rs
+++ b/crates/shirabe/src/util/process_executor.rs
@@ -850,23 +850,6 @@ impl ProcessExecutor {
}
}
-impl Clone for ProcessExecutor {
- fn clone(&self) -> Self {
- // TODO(phase-b): cloning ProcessExecutor is incidental to Phase A — share state
- // properly in a Phase B refactor
- Self {
- capture_output: self.capture_output,
- error_output: self.error_output.clone(),
- io: None,
- jobs: IndexMap::new(),
- running_jobs: 0,
- max_jobs: self.max_jobs,
- id_gen: 0,
- allow_async: self.allow_async,
- }
- }
-}
-
/// Phase B helper trait: convert various command argument forms into `PhpMixed`.
pub trait IntoExecCommand {
fn into_exec_command(self) -> PhpMixed;