[pbs-devel] [PATCH proxmox 2/4] update to rustyline 7
Fabian Grünbichler
f.gruenbichler at proxmox.com
Tue Jan 12 14:58:12 CET 2021
Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
proxmox/src/api/cli/readline.rs | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/proxmox/src/api/cli/readline.rs b/proxmox/src/api/cli/readline.rs
index 4d617c9..d35f1cb 100644
--- a/proxmox/src/api/cli/readline.rs
+++ b/proxmox/src/api/cli/readline.rs
@@ -40,7 +40,9 @@ impl rustyline::completion::Completer for CliHelper {
}
}
-impl rustyline::hint::Hinter for CliHelper {}
+impl rustyline::hint::Hinter for CliHelper {
+ type Hint = String;
+}
impl rustyline::validate::Validator for CliHelper {}
impl rustyline::highlight::Highlighter for CliHelper {}
impl rustyline::Helper for CliHelper {}
--
2.20.1
More information about the pbs-devel
mailing list