Merge pull request #596 from teloxide/fix-handler-doc

Fix the `teloxide::handler!` docs
This commit is contained in:
Hirrolot 2022-04-18 22:58:21 +06:00 committed by GitHub
commit 1e969d2680
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -203,8 +203,8 @@ where
/// - For `State::MyVariant(param,)` and `State::MyVariant { param, }`, the
/// payload is `(param,)`.
/// - For `State::MyVariant(param1, ..., paramN)` and `State::MyVariant {
/// param1, ..., paramN }`, the payload is `(param1, ..., paramN)` (where `N`
/// > 1).
/// param1, ..., paramN }`, the payload is `(param1, ..., paramN)` (where
/// `N`>1).
///
/// ## Dependency requirements
///