change position of arguments to more readable

This commit is contained in:
p0lunin 2020-01-17 15:35:07 +02:00
parent 5f16c7b9ff
commit c3c9b92f87

View file

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