This commit is contained in:
shenjack 2024-06-24 08:59:32 +08:00
parent 48ce3f281f
commit 4a221f92fa
Signed by: shenjack
GPG Key ID: 7B1134A979775551
3 changed files with 4 additions and 4 deletions

4
Cargo.lock generated
View File

@ -1894,7 +1894,7 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
[[package]] [[package]]
name = "tswn" name = "tswn"
version = "0.3.0" version = "0.3.1"
dependencies = [ dependencies = [
"base16384", "base16384",
"chrono", "chrono",
@ -1903,7 +1903,7 @@ dependencies = [
"crossbeam", "crossbeam",
"tracing", "tracing",
"tracing-subscriber", "tracing-subscriber",
"windows-sys 0.52.0", "windows-sys 0.48.0",
] ]
[[package]] [[package]]

View File

@ -1,7 +1,7 @@
[package] [package]
name = "tswn" name = "tswn"
description = "tool shenjack work shop namerena" description = "tool shenjack work shop namerena"
version = "0.3.0" version = "0.3.1"
edition = "2021" edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -535,7 +535,7 @@ impl Namer {
if p > 10 && *self.skl_id.get_unchecked(j) < 35 { if p > 10 && *self.skl_id.get_unchecked(j) < 35 {
*self.skl_freq.get_unchecked_mut(j) = p - 10; *self.skl_freq.get_unchecked_mut(j) = p - 10;
if *self.skl_id.get_unchecked(j) < 25 { if *self.skl_id.get_unchecked(j) < 25 {
last = j as i32; last = j as i8;
} }
} else { } else {
*self.skl_freq.get_unchecked_mut(j) = 0; *self.skl_freq.get_unchecked_mut(j) = 0;