aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-09-26 11:58:28 +0200
committerAlex Auvolat <alex@adnab.me>2023-09-26 11:58:28 +0200
commitc7153e3f10a42ea43e818da92580da9178a6fc8e (patch)
treec5cc5eabc3b18dbea7616a90cef6ffd2067bfe57 /src
parent2794234da2de0541de4a08d05081d3bb6431ce65 (diff)
downloaddatagengo-c7153e3f10a42ea43e818da92580da9178a6fc8e.tar.gz
datagengo-c7153e3f10a42ea43e818da92580da9178a6fc8e.zip
Include N0-9 (extra jinmeiyou kanji) in index table
Diffstat (limited to 'src')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 1022b10..69e5d6f 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1167,7 +1167,7 @@ fn format_index(batches: &[Batch], kanji_levels: &[(String, String)]) -> Result<
"<tr><th>Level</th><th>Count</th><th>Chars</th><th>Missing chars</th></tr>"
)?;
for (lvl, chars) in kanji_levels.iter() {
- if lvl == "N0+" || lvl == "N0-9" || lvl.ends_with("-10") {
+ if lvl == "N0+" || lvl.ends_with("-10") {
continue;
}
let chars = Charset::new(chars);