aboutsummaryrefslogtreecommitdiff
path: root/src/model/channel
diff options
context:
space:
mode:
authorMaiddog <[email protected]>2017-10-04 22:18:16 -0500
committerZeyla Hellyer <[email protected]>2017-10-04 20:18:16 -0700
commit794509421f21bee528e582a7b109d6a99284510a (patch)
tree9777386639a9d087a79a99ffc9776c675b032e94 /src/model/channel
parentReplace Vec parameters by IntoIterator (#176) (diff)
downloadserenity-794509421f21bee528e582a7b109d6a99284510a.tar.xz
serenity-794509421f21bee528e582a7b109d6a99284510a.zip
Fix most clippy warnings
Diffstat (limited to 'src/model/channel')
-rw-r--r--src/model/channel/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/channel/mod.rs b/src/model/channel/mod.rs
index f46a486..4ba0322 100644
--- a/src/model/channel/mod.rs
+++ b/src/model/channel/mod.rs
@@ -92,7 +92,7 @@ impl Channel {
let _ = private_channel.read().unwrap().delete()?;
},
Channel::Category(ref category) => {
- let _ = category.read().unwrap().delete()?;
+ category.read().unwrap().delete()?;
},
}