Skip to content

Commit

Permalink
allow unwrap in result for retrieving stdin
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-kfed committed Feb 12, 2024
1 parent eab3f14 commit 7b0d1a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lcov2cobertura/src/demangle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ pub struct CppDemangler {
impl CppDemangler {
/// pass in full path to command that does the demangling
// safety: stdin/stdout is only taken once, panic unlikely
#[allow(clippy::unwrap_used)]
#[allow(clippy::unwrap_used, clippy::unwrap_in_result)]
pub fn new(cmd: &str) -> io::Result<Self> {
let mut child = Command::new(cmd)
.stdin(Stdio::piped())
Expand Down

0 comments on commit 7b0d1a5

Please sign in to comment.