mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-14 11:44:04 +01:00
change position of arguments to more readable
This commit is contained in:
parent
5f16c7b9ff
commit
c3c9b92f87
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ impl CommandFilter {
|
|||
command: '/'.to_string() + &command.into(),
|
||||
}
|
||||
}
|
||||
pub fn with_prefix<T, U>(command: T, prefix: U) -> Self
|
||||
pub fn with_prefix<T, U>(prefix: U, command: T) -> Self
|
||||
where
|
||||
T: Into<String>,
|
||||
U: Into<String>,
|
||||
|
|
Loading…
Add table
Reference in a new issue