irc-proto: Run cargo fmt

This commit is contained in:
Hyeon Kim 2021-11-15 04:39:00 +09:00
parent 956025c222
commit af6ef9eec2
No known key found for this signature in database
GPG key ID: 0F85F46EE242057F

View file

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