style: apply cargo fmt across workspace

This commit is contained in:
Karim Jerbi committed 2026-10-11 03:14:29 +01:00
1 parent 85710e5454
commit 9cf9ff2c5c
531 files changed
+57740 -33906

No files matched your search

+5 -1
View File
@@ -102,7 +102,11 @@ pub fn dropdown_popup_width<'a>(
min: f32,
) -> f32 {
let max_units = labels
.map(|l| l.chars().map(|c| if is_wide(c) { 2.0 } else { 1.0 }).sum::<f32>())
.map(|l| {
l.chars()
.map(|c| if is_wide(c) { 2.0 } else { 1.0 })
.sum::<f32>()
})
.fold(0.0f32, f32::max);
(max_units * font_size * 0.68 + chrome).max(min)
}