mirror of
https://github.com/neodyland/sbv2-api.git
synced 2026-01-07 06:52:57 +00:00
chore: clippy
This commit is contained in:
@@ -115,7 +115,7 @@ impl JTalkProcess {
|
||||
let (string, pron) = self.parse_to_string_and_pron(parts.clone());
|
||||
let mut yomi = pron.replace('’', "");
|
||||
let word = replace_punctuation(string);
|
||||
assert!(yomi != "", "Empty yomi: {}", word);
|
||||
assert!(!yomi.is_empty(), "Empty yomi: {}", word);
|
||||
if yomi == "、" {
|
||||
if !word
|
||||
.chars()
|
||||
|
||||
Reference in New Issue
Block a user