cargo +nightly fmt

This commit is contained in:
Luke Parker
2023-08-01 00:47:36 -04:00
parent 88f88b574c
commit 3c38a0ec11
10 changed files with 40 additions and 40 deletions

View File

@@ -306,11 +306,13 @@ impl Polyseed {
check_if_matches(
lang.has_prefix,
lang.words.iter().map(|lang_word| ascii(lang_word)),
&ascii(word)
&ascii(word),
)
} else {
check_if_matches(lang.has_prefix, lang.words.iter(), word)
}) else { continue 'language; };
}) else {
continue 'language;
};
// WordList asserts the word list length is less than u16::MAX
poly[i] = u16::try_from(coeff).expect("coeff exceeded u16");