mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-28 15:43:13 -04:00
Clippy fixes macos platform (#2133)
This commit is contained in:
@@ -162,7 +162,7 @@ impl WindowBuilderExtMacOS for WindowBuilder {
|
||||
|
||||
#[inline]
|
||||
fn with_resize_increments(mut self, increments: LogicalSize<f64>) -> WindowBuilder {
|
||||
self.platform_specific.resize_increments = Some(increments.into());
|
||||
self.platform_specific.resize_increments = Some(increments);
|
||||
self
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user