diff options
| author | Zeyla Hellyer <[email protected]> | 2017-05-23 22:42:41 -0700 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2017-05-24 17:31:48 -0700 |
| commit | 540aea32af7878293c72fe9cc2c2d3ce27a44c5e (patch) | |
| tree | 4356b63961eb5754b29c6a99b4bc031c5d4240b1 /src/model | |
| parent | Remove unused internal macro (diff) | |
| download | serenity-540aea32af7878293c72fe9cc2c2d3ce27a44c5e.tar.xz serenity-540aea32af7878293c72fe9cc2c2d3ce27a44c5e.zip | |
Clippy lints
Diffstat (limited to 'src/model')
| -rw-r--r-- | src/model/channel/mod.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/model/channel/mod.rs b/src/model/channel/mod.rs index 98e5f8d..b82b22c 100644 --- a/src/model/channel/mod.rs +++ b/src/model/channel/mod.rs @@ -177,9 +177,8 @@ impl Channel { #[inline] pub fn is_nsfw(&self) -> bool { match *self { - Channel::Group(_) => false, Channel::Guild(ref channel) => channel.read().unwrap().is_nsfw(), - Channel::Private(_) => false, + Channel::Group(_) | Channel::Private(_) => false, } } |