diff options
| author | Zeyla Hellyer <[email protected]> | 2017-06-13 15:32:36 -0700 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2017-06-13 15:32:36 -0700 |
| commit | b4bd7714a155381cc16ece51acb0c4dc6cde96a2 (patch) | |
| tree | e96ed9a01f4a644769cc8460f8020367f66026d8 /tests | |
| parent | Only set shard timeout after a READY is received (diff) | |
| download | serenity-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.rs | 2 |
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, |