From 04dacdb56210541eaccf775bc7ad19599e67dc75 Mon Sep 17 00:00:00 2001 From: Valerie Date: Thu, 9 Jun 2022 13:39:12 -0400 Subject: [PATCH] removed an unused import and bumped version --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/main.rs | 5 ++--- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7cf6778..eb8bb4a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -28,7 +28,7 @@ checksum = "b8f8bdf33df195859076e54ab11ee78a1b208382d3a26ec40d142ffc1ecc49ef" [[package]] name = "quickmaths" -version = "0.1.1" +version = "0.1.2" dependencies = [ "evalexpr", "termion", diff --git a/Cargo.toml b/Cargo.toml index f4cb221..8f5da5a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "quickmaths" -version = "0.1.1" +version = "0.1.2" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/src/main.rs b/src/main.rs index 05c4dd0..262a09c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -7,8 +7,7 @@ use evalexpr::{ eval_with_context_mut, HashMapContext, - Value, - ValueType + Value }; use termion::{ color, @@ -19,7 +18,7 @@ fn main() { let mut context = HashMapContext::new(); let expressions: Vec = env::args().skip(1).collect(); if expressions.len() == 0 { - println!("{}quickmaths v0.1.1{}\n{}Interactive Mode{}", style::Bold, style::Reset, style::Faint, style::Reset); + println!("{}quickmaths v0.1.2{}\n{}Interactive Mode{}", style::Bold, style::Reset, style::Faint, style::Reset); loop { let mut i_line = String::new(); let line_result = stdin().read_line(&mut i_line);