We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a2124a commit 46f7a76Copy full SHA for 46f7a76
src/types/fn_ptr.rs
@@ -123,7 +123,7 @@ impl FnPtr {
123
dyn Fn(NativeCallContext, &mut FnCallArgs) -> RhaiResult + 'static,
124
>,
125
#[cfg(feature = "sync")] func: Box<
126
- dyn Fn(NativeCallContext, &mut FnCallArgs) -> RhaiResult + Semd + Sync + 'static,
+ dyn Fn(NativeCallContext, &mut FnCallArgs) -> RhaiResult + Send + Sync + 'static,
127
128
) -> RhaiResultOf<Self> {
129
let mut fp = Self::new(name)?;
0 commit comments