Skip to content
This repository was archived by the owner on Apr 15, 2022. It is now read-only.

Commit 889a2ea

Browse files
Connor Kuehlnpmccallum
authored andcommitted
Remove redundant ? operator (clippy)
Signed-off-by: Connor Kuehl <[email protected]>
1 parent abbe197 commit 889a2ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ mod verify {
421421

422422
fn ca_chain(filename: PathBuf) -> Result<ca::Chain> {
423423
let mut file = File::open(&filename).context("unable to open CA certificate chain file")?;
424-
Ok(ca::Chain::decode(&mut file, ()).context("unable to decode chain")?)
424+
ca::Chain::decode(&mut file, ()).context("unable to decode chain")
425425
}
426426
}
427427

0 commit comments

Comments
 (0)