From 232ff91957bcfaea97db07a3f0e4d600ee1b29d3 Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Sun, 18 Oct 2020 17:08:57 +0800 Subject: [PATCH] Fix doc test. --- src/module/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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