Fix typo.

This commit is contained in:
AB
2020-12-30 09:47:33 +03:00
parent 1838674cab
commit 412c3f313c

View File

@ -223,17 +223,17 @@ pub(crate) async fn omedeto(api: Api, message: Message, mystem: &mut MyStem) ->
start.choose(&mut rand::thread_rng()).unwrap(),
message.from.first_name.to_string(),
{if fem {"ая"} else {"ый"}},
nouns.pop().unwrap_or("=(".to_string()),
nouns.pop().unwrap_or("=(".to_string()),
nouns.pop().unwrap_or("=(".to_string()),
nouns.pop().unwrap_or("[ДАННЫЕ УДАЛЕНЫ]".to_string()),
nouns.pop().unwrap_or("[ДАННЫЕ ЗАСЕКРЕЧЕНЫ]".to_string()),
nouns.pop().unwrap_or("[ДАННЫЕ УДАЛЕНЫ]".to_string()),
{if fem {"а"} else {""}},
verbs_p.pop().unwrap_or("=(".to_string()),
verbs_p.pop().unwrap_or("=(".to_string()),
verbs_p.pop().unwrap_or("=(".to_string()),
verbs_p.pop().unwrap_or("[СЕКРЕТНО]".to_string()),
verbs_p.pop().unwrap_or("[ДАННЫЕ УДАЛЕНЫ]".to_string()),
verbs_p.pop().unwrap_or("[ДАННЫЕ ЗАСЕКРЕЧЕНЫ]".to_string()),
{if fem {"а"} else {""}},
verbs_i.pop().unwrap_or("=(".to_string()),
verbs_i.pop().unwrap_or("=(".to_string()),
verbs_i.pop().unwrap_or("=(".to_string()),
verbs_i.pop().unwrap_or("[ДАННЫЕ УДАЛЕНЫ]".to_string()),
verbs_i.pop().unwrap_or("[ДАННЫЕ ЗАСЕКРЕЧЕНЫ]".to_string()),
verbs_i.pop().unwrap_or("[СЕКРЕТНО]".to_string()),
);
debug!("{:?}", result);