From e92a85c78b5b5a865914833f1e02e2717e0b790b Mon Sep 17 00:00:00 2001 From: jugeeya Date: Wed, 23 Aug 2023 23:46:04 -0700 Subject: [PATCH] Unused code --- src/training/frame_counter.rs | 2 +- src/training/ui/menu.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/training/frame_counter.rs b/src/training/frame_counter.rs index 93ead54..ca80e7c 100644 --- a/src/training/frame_counter.rs +++ b/src/training/frame_counter.rs @@ -14,7 +14,7 @@ fn _register_counter(no_reset: bool) -> usize { } } -pub fn register_counter_no_reset() -> usize { +pub fn _register_counter_no_reset() -> usize { _register_counter(true) } diff --git a/src/training/ui/menu.rs b/src/training/ui/menu.rs index 9e51827..b04d191 100644 --- a/src/training/ui/menu.rs +++ b/src/training/ui/menu.rs @@ -9,7 +9,6 @@ use training_mod_tui::{App, AppPage, NUM_LISTS}; use crate::common::menu::{ MENU_CLOSE_WAIT_FRAMES, VISUAL_FRAME_COUNTER, VISUAL_FRAME_COUNTER_SHOULD_COUNT, }; -use crate::training::frame_counter; use crate::{common, common::menu::QUICK_MENU_ACTIVE, input::*}; use super::fade_out;