aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorNerdyPepper <[email protected]>2019-03-22 13:56:47 +0000
committerNerdyPepper <[email protected]>2019-03-22 13:56:47 +0000
commita5238794efce5767139d9c4dbdf056bb859921d1 (patch)
treeeb49cc23220ef52dd003d5335287122c94c18f4d /src/main.rs
parent62c29360c8e7d0a56599ea4c42f72fadee0eec14 (diff)
support unary operators (minus and plus)
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 98db219..f3f9d2d 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -16,8 +16,6 @@ fn main() {
16 let input = input.replace(" ", ""); 16 let input = input.replace(" ", "");
17 let input = autobalance_parens(&input[..]).unwrap(); 17 let input = autobalance_parens(&input[..]).unwrap();
18 18
19 println!("{}", input);
20
21 if input == "exit" { 19 if input == "exit" {
22 return 20 return
23 } 21 }