Upgrade rustyline to 2.0 to avoid confusion
This commit is contained in:
parent
14090821d3
commit
70b67052c9
|
@ -41,7 +41,7 @@ cc = { version = "1.0", optional = true }
|
||||||
pkg-config = { version = "0.3.11", optional = true }
|
pkg-config = { version = "0.3.11", optional = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
rustyline = "1.0.0"
|
rustyline = "2.0.0"
|
||||||
criterion = "0.2.0"
|
criterion = "0.2.0"
|
||||||
|
|
||||||
[[bench]]
|
[[bench]]
|
||||||
|
|
|
@ -22,7 +22,7 @@ fn main() {
|
||||||
|
|
||||||
match lua.eval::<MultiValue>(&line, None) {
|
match lua.eval::<MultiValue>(&line, None) {
|
||||||
Ok(values) => {
|
Ok(values) => {
|
||||||
editor.add_history_entry(&line);
|
editor.add_history_entry(line);
|
||||||
println!(
|
println!(
|
||||||
"{}",
|
"{}",
|
||||||
values
|
values
|
||||||
|
|
Loading…
Reference in New Issue