diff options
| author | Austin Hellyer <[email protected]> | 2016-12-03 12:32:14 -0800 |
|---|---|---|
| committer | Austin Hellyer <[email protected]> | 2016-12-03 12:32:14 -0800 |
| commit | 4812904853fe40386630356ceac2708734d8889d (patch) | |
| tree | a6bb7c3363aa8d335b97dc32fbd43f1494a86d20 /src/client | |
| parent | Tests exist (diff) | |
| download | serenity-4812904853fe40386630356ceac2708734d8889d.tar.xz serenity-4812904853fe40386630356ceac2708734d8889d.zip | |
Fix Shard::set_presence example
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/gateway/shard.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/gateway/shard.rs b/src/client/gateway/shard.rs index 1464bd3..ab9ef73 100644 --- a/src/client/gateway/shard.rs +++ b/src/client/gateway/shard.rs @@ -230,7 +230,7 @@ impl Shard { /// /// context.shard.lock() /// .unwrap() - /// .set_presence(Game::playing("Heroes of the Storm"), + /// .set_presence(Some(Game::playing("Heroes of the Storm")), /// OnlineStatus::Online, /// false); /// ``` |