aboutsummaryrefslogtreecommitdiff
path: root/src/model/gateway.rs
diff options
context:
space:
mode:
authorErk- <[email protected]>2018-08-09 20:34:33 +0200
committerzeyla <[email protected]>2018-08-09 11:34:33 -0700
commit40053a71931bb63c43eb6f469ee3c94383c9e90a (patch)
tree79c2fabc1229d0543205bc6daf8ebebc6ebc9755 /src/model/gateway.rs
parent[routing] Fix various incorrect routes. (#364) (diff)
downloadserenity-40053a71931bb63c43eb6f469ee3c94383c9e90a.tar.xz
serenity-40053a71931bb63c43eb6f469ee3c94383c9e90a.zip
Fix all the dead links in the docs
Diffstat (limited to 'src/model/gateway.rs')
-rw-r--r--src/model/gateway.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/model/gateway.rs b/src/model/gateway.rs
index 989cff8..28e3d68 100644
--- a/src/model/gateway.rs
+++ b/src/model/gateway.rs
@@ -261,12 +261,12 @@ pub struct Gateway {
/// Information detailing the current online status of a [`User`].
///
-/// [`User`]: struct.User.html
+/// [`User`]: ../user/struct.User.html
#[derive(Clone, Debug)]
pub struct Presence {
/// The game that a [`User`] is current playing.
///
- /// [`User`]: struct.User.html
+ /// [`User`]: ../user/struct.User.html
pub game: Option<Game>,
/// The date of the last presence update.
pub last_modified: Option<u64>,
@@ -274,7 +274,7 @@ pub struct Presence {
pub nick: Option<String>,
/// The user's online status.
pub status: OnlineStatus,
- /// The Id of the [`User`]. Can be used to calculate the user's creation
+ /// The Id of the [`User`](../user/struct.User.html). Can be used to calculate the user's creation
/// date.
pub user_id: UserId,
/// The associated user instance.