fix references in doc comments

At least, this is all I've found so far.
This commit is contained in:
Charles Hall 2024-05-16 16:43:24 -07:00
parent 04184c6137
commit 94978b95a6
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF
2 changed files with 3 additions and 3 deletions

View file

@ -65,7 +65,7 @@ pub(crate) async fn get_register_available_route(
/// ///
/// Register an account on this homeserver. /// 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. /// to check if the user id is valid and available.
/// ///
/// - Only works if registration is enabled /// - Only works if registration is enabled

View file

@ -44,7 +44,7 @@ pub(crate) async fn get_login_types_route(
/// - If `device_id` is unknown: creates a new device /// - If `device_id` is unknown: creates a new device
/// - Returns access token that is associated with the user and 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. /// supported login types.
#[allow(clippy::too_many_lines)] #[allow(clippy::too_many_lines)]
pub(crate) async fn login_route(body: Ruma<login::v3::Request>) -> Result<login::v3::Response> { 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 /// - Forgets all to-device events
/// - Triggers device list updates /// - 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. /// from each device of this user.
pub(crate) async fn logout_all_route( pub(crate) async fn logout_all_route(
body: Ruma<logout_all::v3::Request>, body: Ruma<logout_all::v3::Request>,