rpn(1): code cleanup
This commit is contained in:
parent
e7ee75b03f
commit
b35f87bd27
12
src/rpn.rs
12
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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user