From af6ef9eec2114e6f2eaca38f2b688a64022e1fe6 Mon Sep 17 00:00:00 2001 From: Hyeon Kim Date: Mon, 15 Nov 2021 04:39:00 +0900 Subject: [PATCH] irc-proto: Run `cargo fmt` --- irc-proto/src/mode.rs | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/irc-proto/src/mode.rs b/irc-proto/src/mode.rs index a2044ed..bc242f7 100644 --- a/irc-proto/src/mode.rs +++ b/irc-proto/src/mode.rs @@ -139,7 +139,18 @@ impl ModeType for ChannelMode { fn takes_arg(&self) -> bool { use self::ChannelMode::*; - matches!(*self, Ban | Exception | Limit | InviteException | Key | Founder | Admin | Oper | Halfop | Voice) + matches!( + *self, + Ban | Exception + | Limit + | InviteException + | Key + | Founder + | Admin + | Oper + | Halfop + | Voice + ) } fn from_char(c: char) -> ChannelMode {