mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-13 11:18:17 +01:00
Apply suggestions from code review
Co-authored-by: Temirkhan Myrzamadi <hirrolot@gmail.com>
This commit is contained in:
parent
62b65cb7a6
commit
79b5c41bb5
1 changed files with 2 additions and 2 deletions
|
@ -184,9 +184,9 @@ macro_rules! impl_payload {
|
|||
}
|
||||
|
||||
impl $Method {
|
||||
// We mirror telegram API and can't do anything with too many arguments
|
||||
// We mirror Telegram API and can't do anything with too many arguments.
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
// It's just easier for macros to generate such code
|
||||
// It's just easier for macros to generate such code.
|
||||
#[allow(clippy::redundant_field_names)]
|
||||
$vi fn new($($($fields : impl_payload!(@convert? $FTy $([$conv])?)),*)?) -> Self {
|
||||
Self {
|
||||
|
|
Loading…
Add table
Reference in a new issue