Skip to content

Commit a803019

Browse files
committed
chore: rustfmt waitable code
1 parent bb780bb commit a803019

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
@@ -236,11 +236,12 @@ cfg_if::cfg_if! {
236236
impl WaitableChild {
237237
fn new(child: std::process::Child) -> io::Result<Self> {
238238
// std::process::Child id must provide a positive PID value
239-
let exit_filter = unsafe { Filter::new(Exit::from_pid(NonZeroI32::new_unchecked(
239+
let exit_filter = unsafe {
240+
Filter::new(Exit::from_pid(NonZeroI32::new_unchecked(
240241
child
241-
.id()
242-
.try_into()
243-
.expect("could not transform pid to i32 type")
242+
.id()
243+
.try_into()
244+
.expect("could not transform pid to i32 type"),
244245
)))?
245246
};
246247

0 commit comments

Comments
 (0)