Skip to content

Commit e48073b

Browse files
committed
clippy
1 parent 84bc68b commit e48073b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/wasm.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,7 @@ impl WasmModuleCompilation {
356356
// for void*. The Option allows the trampoline to .take() the closure
357357
// (FnOnce semantics) without freeing the outer allocation, which is
358358
// ref-counted by shared_ptr on the C++ side.
359+
#[allow(clippy::type_complexity)]
359360
let boxed: Box<
360361
Option<Box<dyn FnOnce(*const WasmModuleObject, *const Value)>>,
361362
> = Box::new(Some(Box::new(wrapped)));

0 commit comments

Comments
 (0)