Fix missing check in Match PartialEq

This commit is contained in:
Ivan Molodetskikh
2024-05-16 11:29:30 +04:00
parent 4e31f7e047
commit c64d9e5223
+1
View File
@@ -770,6 +770,7 @@ impl PartialEq for Match {
fn eq(&self, other: &Self) -> bool {
self.is_active == other.is_active
&& self.is_focused == other.is_focused
&& self.is_active_in_column == other.is_active_in_column
&& self.app_id.as_ref().map(Regex::as_str) == other.app_id.as_ref().map(Regex::as_str)
&& self.title.as_ref().map(Regex::as_str) == other.title.as_ref().map(Regex::as_str)
}