From b35f87bd27950262cebc6f9fa76b65f5301d8dc7 Mon Sep 17 00:00:00 2001 From: emma Date: Thu, 1 Feb 2024 23:34:07 -0700 Subject: [PATCH] rpn(1): code cleanup --- src/rpn.rs | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/rpn.rs b/src/rpn.rs index 88c04ba..cadffa2 100644 --- a/src/rpn.rs +++ b/src/rpn.rs @@ -50,17 +50,7 @@ use std::{ process::ExitCode, }; -use CalcType::{ - Add, - Divide, - Empty, - Floor, - Modulo, - Multiply, - Power, - Subtract, - Val -}; +use CalcType::*; extern crate sysexits;