From 5cd9468b50decd2fbdc89a20156d9789abfd8670 Mon Sep 17 00:00:00 2001 From: Mikhail Mitrofanov Date: Sun, 15 Feb 2026 23:55:35 +0300 Subject: [PATCH] Remove unused import --- src/lang.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/lang.rs b/src/lang.rs index 26e31b4..d935a64 100644 --- a/src/lang.rs +++ b/src/lang.rs @@ -1,5 +1,3 @@ -use rand::RngExt; - #[derive(Clone, Debug)] pub struct KanaSet { name: String, @@ -179,13 +177,13 @@ impl KanaSet { } } - pub fn next(&mut self) -> (String, String) { +/* pub fn next(&mut self) -> (String, String) { let current_set = self.list(); let mut rand = rand::rng(); let index: u32 = rand.random(); current_set[index as usize % current_set.len()].clone() - } + }*/ pub fn list(&self) -> Vec<(String, String)> { let mut current_set: Vec<(String, String)> = Vec::new();