aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2017-06-13 15:32:36 -0700
committerZeyla Hellyer <[email protected]>2017-06-13 15:32:36 -0700
commitb4bd7714a155381cc16ece51acb0c4dc6cde96a2 (patch)
treee96ed9a01f4a644769cc8460f8020367f66026d8 /tests
parentOnly set shard timeout after a READY is received (diff)
downloadserenity-b4bd7714a155381cc16ece51acb0c4dc6cde96a2.tar.xz
serenity-b4bd7714a155381cc16ece51acb0c4dc6cde96a2.zip
Make Member::guild_id non-optional
All codepaths result in Some value, so it doesn't need to be optional.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_formatters.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_formatters.rs b/tests/test_formatters.rs
index 35e81fd..787a3e2 100644
--- a/tests/test_formatters.rs
+++ b/tests/test_formatters.rs
@@ -54,7 +54,7 @@ fn test_mention() {
};
let member = Member {
deaf: false,
- guild_id: Some(GuildId(2)),
+ guild_id: GuildId(2),
joined_at: None,
mute: false,
nick: None,