mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-15 06:40:17 +00:00
chore: fix compiler warning
This commit is contained in:
parent
799278e296
commit
e4c593c2fb
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue