diff --git a/crates/napi/src/env.rs b/crates/napi/src/env.rs index b5fb5820..ff50b599 100644 --- a/crates/napi/src/env.rs +++ b/crates/napi/src/env.rs @@ -1087,7 +1087,7 @@ impl Env { T: 'static + Send, V: 'static + ToNapiValue, F: 'static + Send + Future>, - R: 'static + Send + FnOnce(&mut Env, T) -> Result, + R: 'static + FnOnce(&mut Env, T) -> Result, >( &self, fut: F,