mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-31 16:40:37 +01:00
fmt
This commit is contained in:
parent
54cd855900
commit
3557cf9a40
1 changed files with 2 additions and 1 deletions
|
@ -121,7 +121,8 @@ pub trait BotCommand: Sized {
|
|||
/// assert_eq!(args, vec!["5", "hours"]);
|
||||
/// ```
|
||||
///
|
||||
/// [`parse_command_with_prefix`]: crate::utils::command::parse_command_with_prefix
|
||||
/// [`parse_command_with_prefix`]:
|
||||
/// crate::utils::command::parse_command_with_prefix
|
||||
pub fn parse_command<N>(text: &str, bot_name: N) -> Option<(&str, Vec<&str>)>
|
||||
where
|
||||
N: AsRef<str>,
|
||||
|
|
Loading…
Reference in a new issue