Clippy fixes macos platform (#2133)

This commit is contained in:
Lucas Kent
2022-01-16 11:14:59 +11:00
committed by GitHub
parent cf4660841a
commit 001fb7ef60
10 changed files with 35 additions and 39 deletions

View File

@@ -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
}