This commit is contained in:
puh 2023-02-15 03:35:03 +03:00
parent 560812dfcc
commit c29aac96a7
No known key found for this signature in database
GPG key ID: 171E3E1356CEE151

View file

@ -138,9 +138,6 @@ fn parser_with_separator<'a>(
let res = #res; let res = #res;
if !s.is_empty() && splitted.count() {
}
match splitted.next() { match splitted.next() {
Some(d) if !s.is_empty() => ::std::result::Result::Err(teloxide::utils::command::ParseError::TooManyArguments { Some(d) if !s.is_empty() => ::std::result::Result::Err(teloxide::utils::command::ParseError::TooManyArguments {
expected: #expected, expected: #expected,