Fixes bug in Module::set_fn_4_mut
This commit is contained in:
@@ -913,7 +913,7 @@ impl Module {
|
||||
TypeId::of::<A>(),
|
||||
TypeId::of::<B>(),
|
||||
TypeId::of::<C>(),
|
||||
TypeId::of::<C>(),
|
||||
TypeId::of::<D>(),
|
||||
];
|
||||
self.set_fn(name, Public, &arg_types, Func::from_method(Box::new(f)))
|
||||
}
|
||||
|
Reference in New Issue
Block a user