Skip to content

Commit 063cf38

Browse files
committed
fixed cargo fmt -- --check
1 parent da92bd6 commit 063cf38

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

crates/koharu-app/src/renderer.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1538,7 +1538,8 @@ mod tests {
15381538
#[test]
15391539
fn rotate_sprite_expand_90deg_swaps_dimensions() {
15401540
let src = make_test_sprite(40, 20);
1541-
let (rotated, _min_x, _min_y) = rotate_sprite_expand_top_left(&src, std::f32::consts::FRAC_PI_2);
1541+
let (rotated, _min_x, _min_y) =
1542+
rotate_sprite_expand_top_left(&src, std::f32::consts::FRAC_PI_2);
15421543
// A 90° rotation swaps width and height, plus bilinear rounding = roughly 20×40.
15431544
assert!(
15441545
rotated.width() >= 20 && rotated.width() <= 22,

0 commit comments

Comments
 (0)