From 5a7a0f11ae504a371bb0dbd72b3f7b0205396881 Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Fri, 18 Sep 2020 14:12:57 +0800 Subject: [PATCH] Fix doc test. --- src/fn_register.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fn_register.rs b/src/fn_register.rs index 28d33198..12aedad2 100644 --- a/src/fn_register.rs +++ b/src/fn_register.rs @@ -46,7 +46,7 @@ pub trait RegisterPlugin { /// fn is_method_call(&self) -> bool { false } /// fn is_varadic(&self) -> bool { false } /// - /// fn call(&self, args: &mut[&mut Dynamic], pos: Position) -> Result> { + /// fn call(&self, args: &mut[&mut Dynamic]) -> Result> { /// let x1: NUMBER = std::mem::take(args[0]).clone().cast::(); /// let y1: NUMBER = std::mem::take(args[1]).clone().cast::(); /// let x2: NUMBER = std::mem::take(args[2]).clone().cast::();