From e8d8951320f38cc0b53e4962dbb65dc7668e4c22 Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Thu, 21 Mar 2024 22:59:31 +0100 Subject: [PATCH] fix some warnings --- hui-examples/examples/ui_test_6.rs | 3 +-- hui/src/input.rs | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/hui-examples/examples/ui_test_6.rs b/hui-examples/examples/ui_test_6.rs index 0c81616..2373caa 100644 --- a/hui-examples/examples/ui_test_6.rs +++ b/hui-examples/examples/ui_test_6.rs @@ -1,5 +1,4 @@ use hui::{ - color, size, draw::TextureFormat, signal::Signal, layout::{Alignment, Direction}, @@ -8,10 +7,10 @@ use hui::{ text::Text, image::Image, br::Br, - interactable::ElementInteractableExt, slider::Slider, UiElementExt, }, + size, }; enum CounterSignal { diff --git a/hui/src/input.rs b/hui/src/input.rs index 37d5596..2803a53 100644 --- a/hui/src/input.rs +++ b/hui/src/input.rs @@ -3,8 +3,8 @@ use std::hash::{Hash, Hasher}; use glam::Vec2; use hashbrown::HashMap; -use nohash_hasher::{BuildNoHashHasher, NoHashHasher}; -use tinyset::{Fits64, Set64, SetU32}; +use nohash_hasher::BuildNoHashHasher; +use tinyset::{Fits64, Set64}; use crate::{event::{EventQueue, UiEvent}, rectangle::Rect}; /// Represents a mouse button.