diff --git a/fish-rust/src/history.rs b/fish-rust/src/history.rs index 12c7527ea..bff37a5e3 100644 --- a/fish-rust/src/history.rs +++ b/fish-rust/src/history.rs @@ -2032,8 +2032,6 @@ pub fn go_to_next_match(&mut self, direction: SearchDirection) -> bool { return false; }; - assert!(!item.is_empty()); - // Look for an item that matches and (if deduping) that we haven't seen before. if !item.matches_search(&self.canon_term, self.search_type, !self.ignores_case()) { continue;