From 2886114cf60b56cb724d7ec9420d0d5eb60e7fa0 Mon Sep 17 00:00:00 2001 From: Akshay Date: Tue, 5 Apr 2022 19:18:19 +0530 Subject: bump to v0.3.0 --- src/parse.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/parse.rs') diff --git a/src/parse.rs b/src/parse.rs index aa8bd4b..74b9841 100644 --- a/src/parse.rs +++ b/src/parse.rs @@ -78,12 +78,12 @@ pub fn eval_postfix(postfixed: Vec) -> Result { num_stack.push(op.operate(n1, n2)?); } else { return Err(CalcError::Parser( - "Too many operators, Too little operands".to_string(), + "Too many operators, too few operands".to_string(), )); } } else { return Err(CalcError::Parser( - "Too many operators, Too little operands".to_string(), + "Too many operators, too few operands".to_string(), )); } } @@ -99,7 +99,7 @@ pub fn eval_postfix(postfixed: Vec) -> Result { Ok(num_stack.pop().unwrap()) } else { Err(CalcError::Parser( - "Too many operators, Too little operands".to_string(), + "Too many operators, too few operands".to_string(), )) } } -- cgit v1.2.3