Skip to content

Commit

Permalink
Remove unneeded deref
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Shadle committed Dec 20, 2023
1 parent 59ac4a8 commit 3a74733
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions nextest-runner/src/test_command/imp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,6 @@ pub struct Child {
pub output: Option<Output>,
}

impl std::ops::Deref for Child {
type Target = TokioChild;

fn deref(&self) -> &Self::Target {
&self.child
}
}

impl std::ops::DerefMut for Child {
fn deref_mut(&mut self) -> &mut Self::Target {
&mut self.child
}
}

pub(super) fn spawn(
mut cmd: std::process::Command,
strategy: CaptureStrategy,
Expand Down

0 comments on commit 3a74733

Please sign in to comment.