Revert "Bump Rustyline to 7.0.0 (#2776)" (#2778)

This reverts commit e73278990c.
This commit is contained in:
Jonathan Turner
2020-12-05 17:12:42 +13:00
committed by GitHub
parent d2ab287756
commit 2d15df9e6c
6 changed files with 85 additions and 109 deletions

View File

@ -62,7 +62,6 @@ impl rustyline::completion::Completer for Helper {
}
impl rustyline::hint::Hinter for Helper {
type Hint = String;
fn hint(&self, line: &str, pos: usize, ctx: &rustyline::Context<'_>) -> Option<String> {
self.hinter.as_ref().and_then(|h| h.hint(line, pos, &ctx))
}