Skip to content

Commit

Permalink
Fix clippy warning on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
madsmtm committed Sep 10, 2024
1 parent ba76cc6 commit 8561d3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform_impl/windows/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ impl CoreWindow for Window {
rust-windowing/winit"
)
}
PhysicalPosition::new(rect.left as i32, rect.top as i32)
PhysicalPosition::new(rect.left, rect.top)
}

fn set_outer_position(&self, position: Position) {
Expand Down

0 comments on commit 8561d3b

Please sign in to comment.