ayrat555 / frankenstein

Telegram bot API client for Rust
Do What The F*ck You Want To Public License
268 stars 28 forks source link

refactor: improve generic argument naming #205

Closed EdJoPaTo closed 2 months ago

EdJoPaTo commented 2 months ago

Generic names like T1 or T2 are quite useless to understand what their purpose / goal is. This is renaming them to something more speaking.

Also simplify some code in relation to generics and allow Rust to assume a bunch of them by itself.