diff --git a/src/launcher.rs b/src/launcher.rs index 7748177..b6946fa 100644 --- a/src/launcher.rs +++ b/src/launcher.rs @@ -1606,7 +1606,7 @@ mod tests { } } - fn wait_until(what: &str, condition: impl Fn() -> bool) { + fn wait_until(what: &str, mut condition: impl FnMut() -> bool) { for _ in 0..4000 { if condition() { return;