remove compilation warnings

This commit is contained in:
2026-05-29 21:48:33 +02:00
parent 654d0ed46a
commit ded5657d65

View File

@@ -1,7 +1,6 @@
use std::io::{self, Write};
use std::time::Duration;
use rand::prelude::*;
use tokio::time::sleep;
static CHARSET: [&str; 221] = [
@@ -103,7 +102,6 @@ impl Cipher {
}
fn random_unmask(&mut self, num: usize) -> bool {
let mut rng = rand::rng();
let mut idx: Vec<usize> = self
.mask
.iter()