Fix doc test.
This commit is contained in:
parent
82e6dd446a
commit
232ff91957
@ -511,7 +511,7 @@ impl Module {
|
|||||||
/// // Pass parameter types via a slice with TypeId's
|
/// // Pass parameter types via a slice with TypeId's
|
||||||
/// &[std::any::TypeId::of::<i64>(), std::any::TypeId::of::<bool>()],
|
/// &[std::any::TypeId::of::<i64>(), std::any::TypeId::of::<bool>()],
|
||||||
/// // Fixed closure signature
|
/// // Fixed closure signature
|
||||||
/// |engine, lib, args| {
|
/// |context, args| {
|
||||||
/// // 'args' is guaranteed to be the right length and of the correct types
|
/// // 'args' is guaranteed to be the right length and of the correct types
|
||||||
///
|
///
|
||||||
/// // Get the second parameter by 'consuming' it
|
/// // Get the second parameter by 'consuming' it
|
||||||
|
Loading…
Reference in New Issue
Block a user