Skip to content

Commit e1f4364

Browse files
committed
style: Make clippy happy
1 parent 824c99a commit e1f4364

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/assert.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ impl OutputAssertExt for process::Output {
5656
}
5757
}
5858

59-
impl<'c> OutputAssertExt for &'c mut process::Command {
59+
impl OutputAssertExt for &mut process::Command {
6060
fn assert(self) -> Assert {
6161
let output = match self.output() {
6262
Ok(output) => output,

src/cmd.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ impl From<process::Command> for Command {
604604
}
605605
}
606606

607-
impl<'c> OutputOkExt for &'c mut Command {
607+
impl OutputOkExt for &mut Command {
608608
fn ok(self) -> OutputResult {
609609
let output = self.output().map_err(OutputError::with_cause)?;
610610
if output.status.success() {
@@ -643,7 +643,7 @@ impl<'c> OutputOkExt for &'c mut Command {
643643
}
644644
}
645645

646-
impl<'c> OutputAssertExt for &'c mut Command {
646+
impl OutputAssertExt for &mut Command {
647647
fn assert(self) -> Assert {
648648
let output = match self.output() {
649649
Ok(output) => output,

src/output.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ impl OutputOkExt for process::Output {
103103
}
104104
}
105105

106-
impl<'c> OutputOkExt for &'c mut process::Command {
106+
impl OutputOkExt for &mut process::Command {
107107
fn ok(self) -> OutputResult {
108108
let output = self.output().map_err(OutputError::with_cause)?;
109109
if output.status.success() {
@@ -318,7 +318,7 @@ impl<'a> DebugBytes<'a> {
318318
}
319319
}
320320

321-
impl<'a> fmt::Display for DebugBytes<'a> {
321+
impl fmt::Display for DebugBytes<'_> {
322322
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
323323
format_bytes(self.bytes, f)
324324
}

0 commit comments

Comments
 (0)