Upgrade rustyline to 2.0 to avoid confusion

This commit is contained in:
kyren 2018-09-24 21:27:29 -04:00
parent 14090821d3
commit 70b67052c9
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ cc = { version = "1.0", optional = true }
pkg-config = { version = "0.3.11", optional = true }
[dev-dependencies]
rustyline = "1.0.0"
rustyline = "2.0.0"
criterion = "0.2.0"
[[bench]]

View File

@ -22,7 +22,7 @@ fn main() {
match lua.eval::<MultiValue>(&line, None) {
Ok(values) => {
editor.add_history_entry(&line);
editor.add_history_entry(line);
println!(
"{}",
values