File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ use std::process::{ExitStatus, Output};
55use std:: str;
66
77#[ derive( Debug ) ]
8- // It's not storing `ExitCode` or `Output`, because outputs can be cached and have to be serde-serializable.
8+ // It's not storing `ExitCode` or `Output`, because outputs can be cached and have to be serde-serializable.
99pub struct ProcessError {
1010 /// Error message
1111 pub msg : String ,
@@ -66,7 +66,11 @@ impl ProcessError {
6666 ///
6767 /// * `status` can be `None` if the process did not launch.
6868 /// * `output` can be `None` if the process did not launch, or output was not captured.
69- pub fn new ( msg : impl Into < String > , status : Option < ExitStatus > , output : Option < & Output > ) -> ProcessError {
69+ pub fn new (
70+ msg : impl Into < String > ,
71+ status : Option < ExitStatus > ,
72+ output : Option < & Output > ,
73+ ) -> ProcessError {
7074 let exit = match status {
7175 Some ( s) => exit_status_to_string ( s) ,
7276 None => "never executed" . to_string ( ) ,
You can’t perform that action at this time.
0 commit comments