From c3c9b92f878da632d73695504cb07d6f04310412 Mon Sep 17 00:00:00 2001 From: p0lunin <dmytro.polunin@gmail.com> Date: Fri, 17 Jan 2020 15:35:07 +0200 Subject: [PATCH] change position of arguments to more readable --- src/dispatching/filters/command.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dispatching/filters/command.rs b/src/dispatching/filters/command.rs index 12d7fb14..04524b66 100644 --- a/src/dispatching/filters/command.rs +++ b/src/dispatching/filters/command.rs @@ -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>,