aboutsummaryrefslogtreecommitdiff
path: root/src/model/utils.rs
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2017-09-09 08:23:21 -0700
committerZeyla Hellyer <[email protected]>2017-09-09 08:23:21 -0700
commit1c138a357b37e3bd8002109cfb9a8da94a53810e (patch)
tree3256df54f6b31e0422848ea6bcc1d35e58b27eee /src/model/utils.rs
parent`parent_id` -> `category_id` (diff)
downloadserenity-1c138a357b37e3bd8002109cfb9a8da94a53810e.tar.xz
serenity-1c138a357b37e3bd8002109cfb9a8da94a53810e.zip
Apply rustfmt + fix tests
Diffstat (limited to 'src/model/utils.rs')
-rw-r--r--src/model/utils.rs3
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