From 4fc69be5f6b810b3763f319efa963c655de1b99b Mon Sep 17 00:00:00 2001 From: Alex Orlenko Date: Mon, 25 Jul 2022 14:14:01 +0100 Subject: [PATCH] Update rustyline dev dependency --- Cargo.toml | 2 +- examples/repl.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 98bbcb2..65cde97 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -61,7 +61,7 @@ luajit-src = { version = ">= 210.4.0, < 220.0.0", optional = true } luau0-src = { version = "0.3.6", optional = true } [dev-dependencies] -rustyline = "9.0" +rustyline = "10.0" criterion = { version = "0.3.4", features = ["html_reports", "async_tokio"] } trybuild = "1.0" futures = "0.3.5" diff --git a/examples/repl.rs b/examples/repl.rs index a5fe47a..b4b0936 100644 --- a/examples/repl.rs +++ b/examples/repl.rs @@ -5,7 +5,7 @@ use rustyline::Editor; fn main() { let lua = Lua::new(); - let mut editor = Editor::<()>::new(); + let mut editor = Editor::<()>::new().expect("Failed to make rustyline editor"); loop { let mut prompt = "> ";