removed an unused import and bumped version

This commit is contained in:
Valerie Wolfe 2022-06-09 13:39:12 -04:00
parent c575e0bf4d
commit 04dacdb562
3 changed files with 4 additions and 5 deletions

2
Cargo.lock generated
View file

@ -28,7 +28,7 @@ checksum = "b8f8bdf33df195859076e54ab11ee78a1b208382d3a26ec40d142ffc1ecc49ef"
[[package]] [[package]]
name = "quickmaths" name = "quickmaths"
version = "0.1.1" version = "0.1.2"
dependencies = [ dependencies = [
"evalexpr", "evalexpr",
"termion", "termion",

View file

@ -1,6 +1,6 @@
[package] [package]
name = "quickmaths" name = "quickmaths"
version = "0.1.1" version = "0.1.2"
edition = "2021" edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View file

@ -7,8 +7,7 @@ use evalexpr::{
eval_with_context_mut, eval_with_context_mut,
HashMapContext, HashMapContext,
Value, Value
ValueType
}; };
use termion::{ use termion::{
color, color,
@ -19,7 +18,7 @@ fn main() {
let mut context = HashMapContext::new(); let mut context = HashMapContext::new();
let expressions: Vec<String> = env::args().skip(1).collect(); let expressions: Vec<String> = env::args().skip(1).collect();
if expressions.len() == 0 { 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 { loop {
let mut i_line = String::new(); let mut i_line = String::new();
let line_result = stdin().read_line(&mut i_line); let line_result = stdin().read_line(&mut i_line);