Code cleanup

This commit is contained in:
phoenix
2025-03-24 19:45:20 -04:00
parent 64935ea772
commit fdd1b5b900
4 changed files with 15 additions and 137 deletions
+2 -2
View File
@@ -4,11 +4,11 @@ use serde::{Deserialize, Serialize};
pub struct Checks {}
impl Checks {
pub fn is_numeric(text: &String) -> bool {
pub fn _is_numeric(text: &String) -> bool {
text.parse::<f64>().is_ok()
}
pub fn index_of_item_in_container<F>(container: &String, item: &char, func: F) -> i32
pub fn _index_of_item_in_container<F>(container: &String, item: &char, func: F) -> i32
where
F: Fn(&char, &char) -> bool,
{