Skip to content

Commit

Permalink
Fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
jssblck committed Nov 10, 2023
1 parent 359a703 commit 77c1d89
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/ext/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
use std::{
ffi::{OsStr, OsString},
fmt::Display,
ops::Deref,
path::PathBuf,
process::{ExitStatus, Stdio},
};
Expand Down Expand Up @@ -729,7 +728,7 @@ where
T: CommandDescriber,
{
fn describe(&self) -> Description {
self.deref().deref().describe()
(*self).describe()
}
}

Expand Down Expand Up @@ -814,15 +813,15 @@ where
T: OutputProvider,
{
fn stdout(&self) -> Vec<u8> {
self.deref().deref().stdout()
(*self).stdout()
}

fn stderr(&self) -> Vec<u8> {
self.deref().deref().stderr()
(*self).stderr()
}

fn status(&self) -> ExitStatus {
self.deref().deref().status()
(*self).status()
}
}

Expand Down

0 comments on commit 77c1d89

Please sign in to comment.