From e7cb9e1c0050a22cddeb749b80e69f0f3800910b Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Wed, 9 Mar 2022 14:41:36 -0500 Subject: [PATCH] remove a 's' --- src/parsing.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parsing.rs b/src/parsing.rs index bc37a14..7c52c61 100644 --- a/src/parsing.rs +++ b/src/parsing.rs @@ -120,7 +120,7 @@ pub fn test_func(function_string: &str) -> Option { .collect::>(); return match var_names_not_x.len() { - 1 => Some(format!("Error: invalid variables: {}", var_names_not_x[0])), + 1 => Some(format!("Error: invalid variable: {}", var_names_not_x[0])), _ => Some(format!("Error: invalid variables: {:?}", var_names_not_x)), }; }