aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAustin Hellyer <[email protected]>2016-12-29 12:13:54 -0800
committerAustin Hellyer <[email protected]>2016-12-29 12:13:54 -0800
commit461d837a504275870055d01cd6a95aa77ec0b10a (patch)
tree9faada6a075e88502dbebddf573ca7de17af4e9d /src
parentSlightly simplify Shard::set_presence (diff)
downloadserenity-461d837a504275870055d01cd6a95aa77ec0b10a.tar.xz
serenity-461d837a504275870055d01cd6a95aa77ec0b10a.zip
Remove use of struct pattern match
Diffstat (limited to 'src')
-rw-r--r--src/client/gateway/shard.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/gateway/shard.rs b/src/client/gateway/shard.rs
index 03774ac..30f0e53 100644
--- a/src/client/gateway/shard.rs
+++ b/src/client/gateway/shard.rs
@@ -554,7 +554,7 @@ impl Shard {
Event::Ready(ref ready) => {
self.session_id = Some(ready.ready.session_id.clone());
},
- Event::Resumed { .. } => info!("Resumed"),
+ Event::Resumed(_) => info!("Resumed"),
ref other => warn!("Unknown resume event: {:?}", other),
}