irc-proto: Run cargo fmt
This commit is contained in:
parent
956025c222
commit
af6ef9eec2
1 changed files with 12 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue