mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Apply suggestions from the review
This commit is contained in:
parent
d9b18abd55
commit
db22e20221
2 changed files with 16 additions and 0 deletions
|
@ -41,6 +41,10 @@ use std::{fmt::Debug, marker::PhantomData};
|
||||||
/// - `Cmd` (type of the parsed command)
|
/// - `Cmd` (type of the parsed command)
|
||||||
/// - [`Me`]
|
/// - [`Me`]
|
||||||
///
|
///
|
||||||
|
/// Each of these types can be accepted as a handler parameter. Note that they
|
||||||
|
/// aren't all required at the same time: e.g., you can take only the bot and
|
||||||
|
/// the command without [`Me`] and [`Message`].
|
||||||
|
///
|
||||||
/// [`Me`]: crate::types::Me
|
/// [`Me`]: crate::types::Me
|
||||||
/// [`Message`]: crate::types::Message
|
/// [`Message`]: crate::types::Message
|
||||||
///
|
///
|
||||||
|
@ -103,6 +107,10 @@ where
|
||||||
/// - `Cmd` (type of the parsed command)
|
/// - `Cmd` (type of the parsed command)
|
||||||
/// - [`Me`]
|
/// - [`Me`]
|
||||||
///
|
///
|
||||||
|
/// Each of these types can be accepted as a handler parameter. Note that they
|
||||||
|
/// aren't all required at the same time: e.g., you can take only the bot and
|
||||||
|
/// the command without [`Me`] and [`Message`].
|
||||||
|
///
|
||||||
/// [`Me`]: crate::types::Me
|
/// [`Me`]: crate::types::Me
|
||||||
/// [`Message`]: crate::types::Message
|
/// [`Message`]: crate::types::Message
|
||||||
///
|
///
|
||||||
|
|
|
@ -30,6 +30,10 @@ use std::fmt::Debug;
|
||||||
/// - `R` (type of the `bot`)
|
/// - `R` (type of the `bot`)
|
||||||
/// - [`Me`]
|
/// - [`Me`]
|
||||||
///
|
///
|
||||||
|
/// Each of these types can be accepted as a handler parameter. Note that they
|
||||||
|
/// aren't all required at the same time: e.g., you can take only the bot and
|
||||||
|
/// the command without [`Me`] and [`Message`].
|
||||||
|
///
|
||||||
/// [`Me`]: crate::types::Me
|
/// [`Me`]: crate::types::Me
|
||||||
/// [`Message`]: crate::types::Message
|
/// [`Message`]: crate::types::Message
|
||||||
///
|
///
|
||||||
|
@ -78,6 +82,10 @@ where
|
||||||
/// - `R` (type of the `bot`)
|
/// - `R` (type of the `bot`)
|
||||||
/// - [`Me`]
|
/// - [`Me`]
|
||||||
///
|
///
|
||||||
|
/// Each of these types can be accepted as a handler parameter. Note that they
|
||||||
|
/// aren't all required at the same time: e.g., you can take only the bot and
|
||||||
|
/// the command without [`Me`] and [`Message`].
|
||||||
|
///
|
||||||
/// [`Me`]: crate::types::Me
|
/// [`Me`]: crate::types::Me
|
||||||
/// [`Message`]: crate::types::Message
|
/// [`Message`]: crate::types::Message
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in a new issue