From cdf81a558fbf529e82d2f6e14050725bf3ae2489 Mon Sep 17 00:00:00 2001 From: Sofia Date: Mon, 3 Aug 2026 17:13:45 +0300 Subject: [PATCH] Fix warnings --- rust/src/arrow.rs | 2 +- rust/src/ui/cooldown_icon.rs | 5 +---- rust/src/ui/player_stats_panel.rs | 5 +---- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/rust/src/arrow.rs b/rust/src/arrow.rs index 4281306..484747d 100644 --- a/rust/src/arrow.rs +++ b/rust/src/arrow.rs @@ -1,4 +1,4 @@ -use godot::{classes::MeshInstance3D, prelude::*}; +use godot::prelude::*; #[derive(GodotClass)] #[class(base=Node3D, init, tool)] diff --git a/rust/src/ui/cooldown_icon.rs b/rust/src/ui/cooldown_icon.rs index ff5162a..6362c44 100644 --- a/rust/src/ui/cooldown_icon.rs +++ b/rust/src/ui/cooldown_icon.rs @@ -1,8 +1,5 @@ use godot::{ - classes::{ - CompressedTexture2D, Control, Engine, IControl, Label, TextureProgressBar, - texture_progress_bar::FillMode, - }, + classes::{Control, IControl, Label, TextureProgressBar, texture_progress_bar::FillMode}, prelude::*, }; diff --git a/rust/src/ui/player_stats_panel.rs b/rust/src/ui/player_stats_panel.rs index d666740..6b3aa66 100644 --- a/rust/src/ui/player_stats_panel.rs +++ b/rust/src/ui/player_stats_panel.rs @@ -3,10 +3,7 @@ use godot::{ prelude::*, }; -use crate::{ - game::{Game, PlayerStats}, - replay::StandaloneReplayManager, -}; +use crate::{game::Game, replay::StandaloneReplayManager}; #[derive(GodotClass)] #[class(base=PanelContainer, init)]