summaryrefslogtreecommitdiff
path: root/cli/tools/repl
diff options
context:
space:
mode:
authorsigmaSd <bedisnbiba@gmail.com>2022-07-18 19:47:00 +0100
committerGitHub <noreply@github.com>2022-07-18 20:47:00 +0200
commit1f04cea160071a296fc97a6bd50a2690521d70f6 (patch)
tree4a941dea22052611a9ac3a4dc78a605b4501459a /cli/tools/repl
parent999cbfb52bc42c58467e3592d5fead9c4ee8a2c1 (diff)
chore(repl): update rustyline to 10.0.0 (#15232)
Diffstat (limited to 'cli/tools/repl')
-rw-r--r--cli/tools/repl/editor.rs3
1 files changed, 2 insertions, 1 deletions
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(