chore: Clippy fixes
This commit is contained in:
@@ -90,7 +90,7 @@ impl ToTokens for Pipe {
|
||||
|
||||
if !_output.status.success() {
|
||||
return Err(::comlexr::ExecutorError::FailedCommand{
|
||||
command: #prev_com_ident,
|
||||
command: std::boxed::Box::new(#prev_com_ident),
|
||||
exit_code: _output.status.code().unwrap_or(1),
|
||||
});
|
||||
}
|
||||
|
||||
@@ -24,7 +24,10 @@ pub enum ExecutorError {
|
||||
.collect::<Vec<_>>()
|
||||
.join(" "),
|
||||
)]
|
||||
FailedCommand { command: Command, exit_code: i32 },
|
||||
FailedCommand {
|
||||
command: Box<Command>,
|
||||
exit_code: i32,
|
||||
},
|
||||
|
||||
/// No stdin Error
|
||||
#[error("Unable to get mutable stdin")]
|
||||
|
||||
Reference in New Issue
Block a user