rpn(1): rewrote parser for the second time
This commit is contained in:
parent
4cb5e8e2b0
commit
fb2a164507
67
src/rpn.rs
67
src/rpn.rs
@ -67,7 +67,7 @@ enum CalcType {
|
|||||||
Floor,
|
Floor,
|
||||||
Modulo,
|
Modulo,
|
||||||
Val(f64),
|
Val(f64),
|
||||||
Empty,
|
Invalid,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl From<&str> for CalcType {
|
impl From<&str> for CalcType {
|
||||||