From 9c0f960ad44a268b1fae65785d9de7960e90af98 Mon Sep 17 00:00:00 2001 From: Em Zhan Date: Mon, 9 Jun 2025 23:35:08 -0500 Subject: [PATCH] Fix `cargo clippy` error --- helix-term/src/ui/picker.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helix-term/src/ui/picker.rs b/helix-term/src/ui/picker.rs index b8b25ff92..24487c426 100644 --- a/helix-term/src/ui/picker.rs +++ b/helix-term/src/ui/picker.rs @@ -1186,7 +1186,7 @@ impl Picker { && area.width >= MIN_AREA_WIDTH_FOR_PREVIEW && area.height >= MIN_AREA_HEIGHT_FOR_PREVIEW; let stack_vertically = area.width / 2 < MIN_AREA_WIDTH_FOR_PREVIEW; - return (render_preview, stack_vertically); + (render_preview, stack_vertically) } }