rpn(1): fixed Invalid error handling

This commit is contained in:
Emma Tebibyte 2024-02-02 21:05:34 -07:00
parent a30152d783
commit 228a0111c7
Signed by untrusted user: emma
GPG Key ID: 06FA419A1698C270

View File

@ -56,7 +56,7 @@ extern crate sysexits;
use sysexits::EX_DATAERR; use sysexits::EX_DATAERR;
#[derive(Clone, Copy, PartialEq, PartialOrd, Debug)] #[derive(Clone, PartialEq, PartialOrd, Debug)]
// enum CalcType is a type containing operations used in the calculator // enum CalcType is a type containing operations used in the calculator
enum CalcType { enum CalcType {
Add, Add,