diff options
author | sigmaSd <bedisnbiba@gmail.com> | 2022-07-18 19:47:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-18 20:47:00 +0200 |
commit | 1f04cea160071a296fc97a6bd50a2690521d70f6 (patch) | |
tree | 4a941dea22052611a9ac3a4dc78a605b4501459a /cli/tools/repl | |
parent | 999cbfb52bc42c58467e3592d5fead9c4ee8a2c1 (diff) |
chore(repl): update rustyline to 10.0.0 (#15232)
Diffstat (limited to 'cli/tools/repl')
-rw-r--r-- | cli/tools/repl/editor.rs | 3 |
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( |