diff options
Diffstat (limited to 'examples/example.rs')
-rw-r--r-- | examples/example.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/example.rs b/examples/example.rs index fc53106..8ed975b 100644 --- a/examples/example.rs +++ b/examples/example.rs @@ -58,7 +58,7 @@ fn main() -> rustyline::Result<()> { let h = MyHelper { completer: FilenameCompleter::new(), highlighter: MatchingBracketHighlighter::new(), - hinter: HistoryHinter {}, + hinter: HistoryHinter::new(), colored_prompt: "".to_owned(), validator: MatchingBracketValidator::new(), }; |