remove a 's'

This commit is contained in:
Simon Gardling 2022-03-09 14:41:36 -05:00
parent 0a4414dd17
commit e7cb9e1c00

View File

@ -120,7 +120,7 @@ pub fn test_func(function_string: &str) -> Option<String> {
.collect::<Vec<String>>();
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)),
};
}