From 1f04cea160071a296fc97a6bd50a2690521d70f6 Mon Sep 17 00:00:00 2001 From: sigmaSd Date: Mon, 18 Jul 2022 19:47:00 +0100 Subject: chore(repl): update rustyline to 10.0.0 (#15232) --- cli/tools/repl/editor.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cli/tools/repl') diff --git a/cli/tools/repl/editor.rs b/cli/tools/repl/editor.rs index 1024ef201..c6549f61d 100644 --- a/cli/tools/repl/editor.rs +++ b/cli/tools/repl/editor.rs @@ -363,7 +363,8 @@ impl ReplEditor { .completion_type(CompletionType::List) .build(); - let mut editor = Editor::with_config(editor_config); + let mut editor = + Editor::with_config(editor_config).expect("Failed to create editor."); editor.set_helper(Some(helper)); editor.load_history(&history_file_path).unwrap_or(()); editor.bind_sequence( -- cgit v1.2.3