Skip to content

Commit c8073d4

Browse files
committed
formatting
1 parent 225f8fc commit c8073d4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

util/process_wrapper/main.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,9 @@ fn main() -> Result<(), ProcessWrapperError> {
237237
.open(&ecf)
238238
.map_err(|e| ProcessWrapperError(format!("failed to create exit code file: {}", e)))?;
239239
let mut writer = io::LineWriter::new(exit_code_file);
240-
writeln!(writer, "{}", code)
241-
.map_err(|e| ProcessWrapperError(format!("failed to write exit code to file: {}", e)))?;
240+
writeln!(writer, "{}", code).map_err(|e| {
241+
ProcessWrapperError(format!("failed to write exit code to file: {}", e))
242+
})?;
242243
}
243244

244245
if opts.forward_exit_code {

0 commit comments

Comments
 (0)