Skip to content

Commit 5e7c2b5

Browse files
committed
chore: rustfmt waitable code
1 parent 541d6ad commit 5e7c2b5

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/reaper/wait.rs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -234,11 +234,12 @@ cfg_if::cfg_if! {
234234
impl WaitableChild {
235235
fn new(child: std::process::Child) -> io::Result<Self> {
236236
// std::process::Child id must provide a positive PID value
237-
let exit_filter = unsafe { Filter::new(Exit::from_pid(NonZeroI32::new_unchecked(
237+
let exit_filter = unsafe {
238+
Filter::new(Exit::from_pid(NonZeroI32::new_unchecked(
238239
child
239-
.id()
240-
.try_into()
241-
.expect("could not transform pid to i32 type")
240+
.id()
241+
.try_into()
242+
.expect("could not transform pid to i32 type"),
242243
)))?
243244
};
244245

0 commit comments

Comments
 (0)