Skip to content

Commit 2c42b2a

Browse files
committed
styled: format code with fmt
1 parent b9cfa29 commit 2c42b2a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ui.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ fn centered_rect(percent_x: u16, percent_y: u16, r: Rect) -> Rect {
6161

6262
let padding = (100 - percent_x) / 2;
6363
let [_, center] =
64-
Layout::horizontal(Constraint::from_percentages([padding, percent_x]))
65-
.areas(v_center);
64+
Layout::horizontal(Constraint::from_percentages([padding, percent_x])).areas(v_center);
6665
center
6766
}

0 commit comments

Comments
 (0)