fix: Remove unused field and fix context method in DigestEngineProgram
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
use anyhow::{anyhow, Context, Result};
|
use anyhow::{anyhow, Result};
|
||||||
use std::io;
|
use std::io;
|
||||||
|
|
||||||
use lazy_static::lazy_static;
|
use lazy_static::lazy_static;
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ impl DigestEngine for DigestEngineProgram {
|
|||||||
.stdin(Stdio::piped())
|
.stdin(Stdio::piped())
|
||||||
.stdout(Stdio::piped())
|
.stdout(Stdio::piped())
|
||||||
.spawn()
|
.spawn()
|
||||||
.with_context(anyhow!(
|
.context(anyhow!(
|
||||||
"Problem spawning child process: {:?} {:?}",
|
"Problem spawning child process: {:?} {:?}",
|
||||||
program,
|
program,
|
||||||
args
|
args
|
||||||
|
|||||||
Reference in New Issue
Block a user