Skip to content

Commit 95cbe75

Browse files
committed
chore: rust format
1 parent a7d94cb commit 95cbe75

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

packages/server/src/accessibility.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,7 @@ fn display_size_from_roots(roots: &[Value]) -> Option<(f64, f64)> {
109109
let mut best: Option<(f64, f64)> = None;
110110
for root in roots {
111111
if let Some((_, _, width, height)) = frame_rect(root) {
112-
if width > 0.0 && height > 0.0 && best.is_none_or(|(bw, bh)| width * height > bw * bh)
113-
{
112+
if width > 0.0 && height > 0.0 && best.is_none_or(|(bw, bh)| width * height > bw * bh) {
114113
best = Some((width, height));
115114
}
116115
}

0 commit comments

Comments
 (0)