From 2caf000584d66fbd7b3652787eab160cffd67e7c Mon Sep 17 00:00:00 2001 From: Sebastian Schmidt Date: Sun, 31 Mar 2019 15:46:22 +0200 Subject: [PATCH] Export expect_function_argument_amount --- src/error/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/error/mod.rs b/src/error/mod.rs index 106f0ff..b4d9ef9 100644 --- a/src/error/mod.rs +++ b/src/error/mod.rs @@ -284,7 +284,7 @@ pub(crate) fn expect_operator_argument_amount( } /// Returns `Ok(())` if the actual and expected parameters are equal, and `Err(Error::WrongFunctionArgumentAmount)` otherwise. -pub(crate) fn expect_function_argument_amount( +pub fn expect_function_argument_amount( actual: usize, expected: usize, ) -> EvalexprResult<()> {