mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-18 00:01:24 +01:00
fix references in doc comments
At least, this is all I've found so far.
This commit is contained in:
parent
04184c6137
commit
94978b95a6
2 changed files with 3 additions and 3 deletions
|
|
@ -65,7 +65,7 @@ pub(crate) async fn get_register_available_route(
|
|||
///
|
||||
/// Register an account on this homeserver.
|
||||
///
|
||||
/// You can use [`GET /_matrix/client/r0/register/available`](fn.get_register_available_route.html)
|
||||
/// You can use [`GET /_matrix/client/r0/register/available`](get_register_available_route)
|
||||
/// to check if the user id is valid and available.
|
||||
///
|
||||
/// - Only works if registration is enabled
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ pub(crate) async fn get_login_types_route(
|
|||
/// - If `device_id` is unknown: creates a new device
|
||||
/// - Returns access token that is associated with the user and device
|
||||
///
|
||||
/// Note: You can use [`GET /_matrix/client/r0/login`](fn.get_supported_versions_route.html) to see
|
||||
/// Note: You can use [`GET /_matrix/client/r0/login`](get_login_types_route) to see
|
||||
/// supported login types.
|
||||
#[allow(clippy::too_many_lines)]
|
||||
pub(crate) async fn login_route(body: Ruma<login::v3::Request>) -> Result<login::v3::Response> {
|
||||
|
|
@ -255,7 +255,7 @@ pub(crate) async fn logout_route(body: Ruma<logout::v3::Request>) -> Result<logo
|
|||
/// - Forgets all to-device events
|
||||
/// - Triggers device list updates
|
||||
///
|
||||
/// Note: This is equivalent to calling [`GET /_matrix/client/r0/logout`](fn.logout_route.html)
|
||||
/// Note: This is equivalent to calling [`GET /_matrix/client/r0/logout`](logout_route)
|
||||
/// from each device of this user.
|
||||
pub(crate) async fn logout_all_route(
|
||||
body: Ruma<logout_all::v3::Request>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue