Apply suggestions from the review

Former-commit-id: db22e20221
This commit is contained in:
Maybe Waffle 2022-10-07 13:09:57 +04:00
parent bb686ebd8e
commit fde91dacf4
2 changed files with 16 additions and 0 deletions

View file

@ -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
/// ///

View file

@ -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
/// ///