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 }
|
||||
|
||||
[dev-dependencies]
|
||||
rustyline = "1.0.0"
|
||||
rustyline = "2.0.0"
|
||||
criterion = "0.2.0"
|
||||
|
||||
[[bench]]
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue