This commit is contained in:
p0lunin 2020-02-24 16:39:57 +02:00
parent 54cd855900
commit 3557cf9a40

View file

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