Skip to content

Commit

Permalink
Fix compile
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Feb 3, 2025
1 parent c70bf6a commit 2c54a4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/windows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pub fn wait_timeout(child: &mut Child, mut dur: Duration) -> io::Result<Option<E
loop {
let elapsed = start.elapsed();
if elapsed >= dur {
break;
return Ok(None);
}
let timeout = dur - elapsed;
let ms = timeout.as_millis();
Expand Down

0 comments on commit 2c54a4f

Please sign in to comment.