aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAustin Hellyer <[email protected]>2016-12-03 12:32:14 -0800
committerAustin Hellyer <[email protected]>2016-12-03 12:32:14 -0800
commit4812904853fe40386630356ceac2708734d8889d (patch)
treea6bb7c3363aa8d335b97dc32fbd43f1494a86d20 /src
parentTests exist (diff)
downloadserenity-4812904853fe40386630356ceac2708734d8889d.tar.xz
serenity-4812904853fe40386630356ceac2708734d8889d.zip
Fix Shard::set_presence example
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 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);
/// ```