format and update Cargo.lock

This commit is contained in:
2026-05-31 12:13:38 +02:00
parent e7cfc531f7
commit f89538c594
2 changed files with 8 additions and 9 deletions

2
Cargo.lock generated
View File

@@ -172,7 +172,7 @@ dependencies = [
] ]
[[package]] [[package]]
name = "no-more-secret" name = "no-more-secrets"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"rand", "rand",

View File

@@ -91,8 +91,7 @@ impl Cipher {
if rand::random_range(0..100) < update_prob { if rand::random_range(0..100) < update_prob {
let idx = rand::random_range(0..CHARSET.len()); let idx = rand::random_range(0..CHARSET.len());
print!("{}", CHARSET[idx]); print!("{}", CHARSET[idx]);
} } else {
else{
print!("\x1b[1C"); print!("\x1b[1C");
} }
} }
@@ -141,7 +140,7 @@ async fn main() {
sleep(Duration::from_millis(100)).await; sleep(Duration::from_millis(100)).await;
if cipher.random_unmask(10) { if cipher.random_unmask(10) {
break break;
} }
} }