We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84bc68b commit e48073bCopy full SHA for e48073b
src/wasm.rs
@@ -356,6 +356,7 @@ impl WasmModuleCompilation {
356
// for void*. The Option allows the trampoline to .take() the closure
357
// (FnOnce semantics) without freeing the outer allocation, which is
358
// ref-counted by shared_ptr on the C++ side.
359
+ #[allow(clippy::type_complexity)]
360
let boxed: Box<
361
Option<Box<dyn FnOnce(*const WasmModuleObject, *const Value)>>,
362
> = Box::new(Some(Box::new(wrapped)));
0 commit comments