Skip to content

Commit

Permalink
Fix a clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
teor2345 committed Aug 24, 2022
1 parent 1a0a93a commit 6b7d2e1
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions zebra-test/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -714,9 +714,7 @@ impl<T> TestChild<T> {
Err(report) => {
// Read all the log lines for error context
self.stdout = Some(lines);
let error = Err(report).context_from(self);

error
Err(report).context_from(self)
}
}
}
Expand Down Expand Up @@ -748,9 +746,7 @@ impl<T> TestChild<T> {
Err(report) => {
// Read all the log lines for error context
self.stderr = Some(lines);
let error = Err(report).context_from(self);

error
Err(report).context_from(self)
}
}
}
Expand Down

0 comments on commit 6b7d2e1

Please sign in to comment.