diff --git a/crates/futures/src/lib.rs b/crates/futures/src/lib.rs index ca35b0ab..998c6878 100644 --- a/crates/futures/src/lib.rs +++ b/crates/futures/src/lib.rs @@ -388,7 +388,7 @@ fn _future_to_promise(future: Box>) -> P /// This function has the same panic behavior as `future_to_promise`. pub fn spawn_local(future: F) where - F: Future + 'static, + F: Future + 'static, { future_to_promise( future