From 987ebb46f34ce81db839da0e2190d261ccec7bc2 Mon Sep 17 00:00:00 2001 From: kelpsyberry <138107494+kelpsyberry@users.noreply.github.com> Date: Wed, 7 Aug 2024 00:33:08 +0200 Subject: [PATCH] Minor fixes --- core/src/lib.rs | 3 ++- frontend/desktop/src/ui/window.rs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/core/src/lib.rs b/core/src/lib.rs index 5e8100e..d27b25b 100644 --- a/core/src/lib.rs +++ b/core/src/lib.rs @@ -9,7 +9,8 @@ portable_simd, new_uninit, str_from_utf16_endian, - array_chunks + array_chunks, + unsized_const_params )] #![warn(clippy::pedantic)] #![allow( diff --git a/frontend/desktop/src/ui/window.rs b/frontend/desktop/src/ui/window.rs index 0a4bacf..21da203 100644 --- a/frontend/desktop/src/ui/window.rs +++ b/frontend/desktop/src/ui/window.rs @@ -19,7 +19,7 @@ use winit::{ dpi::{LogicalSize, PhysicalSize}, event::{Event, WindowEvent}, event_loop::EventLoop, - window::{Window as WinitWindow, WindowAttributes}, + window::Window as WinitWindow, }; #[cfg(target_os = "macos")] use winit::{