diff options
| author | Maiddog <[email protected]> | 2017-10-04 22:18:16 -0500 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2017-10-04 20:18:16 -0700 |
| commit | 794509421f21bee528e582a7b109d6a99284510a (patch) | |
| tree | 9777386639a9d087a79a99ffc9776c675b032e94 /src/model/channel | |
| parent | Replace Vec parameters by IntoIterator (#176) (diff) | |
| download | serenity-794509421f21bee528e582a7b109d6a99284510a.tar.xz serenity-794509421f21bee528e582a7b109d6a99284510a.zip | |
Fix most clippy warnings
Diffstat (limited to 'src/model/channel')
| -rw-r--r-- | src/model/channel/mod.rs | 2 |
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()?; }, } |