From 2c54a4ffdedfbc7a6ee4fc23aa3430e811287590 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Mon, 3 Feb 2025 06:48:30 -0800 Subject: [PATCH] Fix compile --- src/windows.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/windows.rs b/src/windows.rs index 19676a5..231f2af 100644 --- a/src/windows.rs +++ b/src/windows.rs @@ -18,7 +18,7 @@ pub fn wait_timeout(child: &mut Child, mut dur: Duration) -> io::Result= dur { - break; + return Ok(None); } let timeout = dur - elapsed; let ms = timeout.as_millis();