Skip to content

Commit fa64a9d

Browse files
authored
Cargo fmt
1 parent cf08d20 commit fa64a9d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/command_helpers.rs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -354,10 +354,12 @@ pub(crate) fn spawn_and_wait_for_output(cmd: &mut Command, cargo_output: &CargoO
354354
captured_cargo_output.output = OutputKind::Capture;
355355
spawn(cmd, &captured_cargo_output)?
356356
.wait_with_output()
357-
.map_err(|e| Error::new(
358-
ErrorKind::ToolExecError,
359-
format!("failed to wait on spawned child process `{cmd:?}`: {e}"),
360-
))
357+
.map_err(|e| {
358+
Error::new(
359+
ErrorKind::ToolExecError,
360+
format!("failed to wait on spawned child process `{cmd:?}`: {e}"),
361+
)
362+
})
361363
}
362364

363365
pub(crate) fn run_output(cmd: &mut Command, cargo_output: &CargoOutput) -> Result<Vec<u8>, Error> {

0 commit comments

Comments
 (0)