Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
chore: fix compiler warning
Piotr Osiewicze4c593c2fb09
diff --git a/crates/search/src/search_bar.rs b/crates/search/src/search_bar.rsindex 593e0aeb69d..1569174c92b 100644--- a/crates/search/src/search_bar.rs+++ b/crates/search/src/search_bar.rs@@ -139,7 +139,7 @@ pub(crate) fn render_search_mode_button<V: View>(.clone();let side_width = style.container.corner_radius;style.container.corner_radius = 0.;- if let Some(button_side) = mode.button_side() {+ if mode.button_side().is_some() {style.container.border.left = mode.border_left();style.container.border.right = mode.border_right();}