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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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
}