forked from bonsai/harakit
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,
|
process::ExitCode,
|
||||||
};
|
};
|
||||||
|
|
||||||
use CalcType::{
|
use CalcType::*;
|
||||||
Add,
|
|
||||||
Divide,
|
|
||||||
Empty,
|
|
||||||
Floor,
|
|
||||||
Modulo,
|
|
||||||
Multiply,
|
|
||||||
Power,
|
|
||||||
Subtract,
|
|
||||||
Val
|
|
||||||
};
|
|
||||||
|
|
||||||
extern crate sysexits;
|
extern crate sysexits;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user