Skip to content

Commit

Permalink
merge dev and master, fix conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
oppiliappan committed Jun 20, 2019
2 parents 784da4e + 4811ea2 commit d9d03c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ categories = ["command-line-interface", "science", "parser-implementations"]
license = "MIT"

[dependencies]
rustyline = "4.0.0"
rustyline = "4.1.0"
clap = "2.32.0"
radix_fmt = "0.1.1"
radix_fmt = "1.0.0"
lazy_static = "1.3.0"
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ fn main() {
let readline = rl.readline("> ");
match readline {
Ok(line) => {
rl.add_history_entry(line.as_ref());
rl.add_history_entry(line.as_str());
let evaled = eval_math_expression(&line[..]);
match evaled {
Ok(ans) => pprint(ans),
Expand Down

0 comments on commit d9d03c0

Please sign in to comment.