aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2018-08-24 08:05:53 -0700
committerZeyla Hellyer <[email protected]>2018-08-24 08:05:53 -0700
commitdec3f13ac10b7d22a45ae8393dda95f0a796aee7 (patch)
tree09c487df82bddede856ec880bab20e1347ea30b2 /src
parentAdd support for session start info in BotGateway (diff)
downloadserenity-dec3f13ac10b7d22a45ae8393dda95f0a796aee7.tar.xz
serenity-dec3f13ac10b7d22a45ae8393dda95f0a796aee7.zip
Properly link to User in Game docs
Diffstat (limited to 'src')
-rw-r--r--src/model/gateway.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/model/gateway.rs b/src/model/gateway.rs
index ca9b92f..68668cf 100644
--- a/src/model/gateway.rs
+++ b/src/model/gateway.rs
@@ -28,6 +28,8 @@ pub struct BotGateway {
/// Representation of a game that a [`User`] is playing -- or streaming in the
/// case that a stream URL is provided.
+///
+/// [`User`]: ../user/struct.User.html
#[derive(Clone, Debug, Serialize)]
pub struct Game {
/// The type of game status.