mirror of
https://github.com/house-of-vanity/desubot.git
synced 2025-07-08 13:04:06 +00:00
Simple lint
This commit is contained in:
@ -477,9 +477,9 @@ impl Execute for Omedeto {
|
||||
.map(|m| {
|
||||
let stem = mystem.stemming(m.clone()).unwrap_or_default();
|
||||
if stem.is_empty() {
|
||||
()
|
||||
|
||||
} else if stem[0].lex.is_empty() {
|
||||
()
|
||||
|
||||
} else {
|
||||
match stem[0].lex[0].grammem.part_of_speech {
|
||||
mystem::PartOfSpeech::Verb => {
|
||||
|
Reference in New Issue
Block a user