diff --git a/src/module/mod.rs b/src/module/mod.rs index dcdfe756..759bf1aa 100644 --- a/src/module/mod.rs +++ b/src/module/mod.rs @@ -511,7 +511,7 @@ impl Module { /// // Pass parameter types via a slice with TypeId's /// &[std::any::TypeId::of::(), std::any::TypeId::of::()], /// // Fixed closure signature - /// |engine, lib, args| { + /// |context, args| { /// // 'args' is guaranteed to be the right length and of the correct types /// /// // Get the second parameter by 'consuming' it