diff options
| author | Zeyla Hellyer <[email protected]> | 2017-09-09 08:23:21 -0700 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2017-09-09 08:23:21 -0700 |
| commit | 1c138a357b37e3bd8002109cfb9a8da94a53810e (patch) | |
| tree | 3256df54f6b31e0422848ea6bcc1d35e58b27eee /src/model/utils.rs | |
| parent | `parent_id` -> `category_id` (diff) | |
| download | serenity-1c138a357b37e3bd8002109cfb9a8da94a53810e.tar.xz serenity-1c138a357b37e3bd8002109cfb9a8da94a53810e.zip | |
Apply rustfmt + fix tests
Diffstat (limited to 'src/model/utils.rs')
| -rw-r--r-- | src/model/utils.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/model/utils.rs b/src/model/utils.rs index 123f683..89d498a 100644 --- a/src/model/utils.rs +++ b/src/model/utils.rs @@ -160,7 +160,8 @@ pub fn user_has_perms(channel_id: ChannelId, mut permissions: Permissions) -> Re Channel::Group(_) | Channel::Private(_) | Channel::Category(_) => { - // Both users in DMs, and all users in groups and maybe all channels in categories will have the same + // Both users in DMs, and all users in groups and maybe all channels in categories will + // have the same // permissions. // // The only exception to this is when the current user is blocked by |