Skip to content
This repository was archived by the owner on Dec 29, 2021. It is now read-only.

Commit 67db224

Browse files
committed
style: Address clippy complaint
1 parent 285aee5 commit 67db224

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/output.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,8 @@ impl OutputPredicate {
338338

339339
pub(crate) fn verify(&self, got: &process::Output) -> Result<(), OutputError> {
340340
let got = self.kind.select(got);
341-
let result = self.pred.verify(got).chain(OutputError::new(self.kind))?;
342-
Ok(result)
341+
self.pred.verify(got).chain(OutputError::new(self.kind))?;
342+
Ok(())
343343
}
344344
}
345345

0 commit comments

Comments
 (0)