diff --git a/src/reader.rs b/src/reader.rs index 9b675b75e..dd6c38e51 100644 --- a/src/reader.rs +++ b/src/reader.rs @@ -4848,13 +4848,7 @@ impl<'a> Reader<'a> { } let el = &self.data.command_line; - let autosuggestion = &self.autosuggestion; if self.is_at_line_with_autosuggestion() { - assert!(string_prefixes_string_maybe_case_insensitive( - autosuggestion.icase, - &el.text()[autosuggestion.search_string_range.clone()], - &autosuggestion.text - )); return; }