From 94978b95a646be22ddc09b5c54c06264b4fea124 Mon Sep 17 00:00:00 2001 From: Charles Hall Date: Thu, 16 May 2024 16:43:24 -0700 Subject: [PATCH] fix references in doc comments At least, this is all I've found so far. --- src/api/client_server/account.rs | 2 +- src/api/client_server/session.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/api/client_server/account.rs b/src/api/client_server/account.rs index 6d254a9c..91b5dd4d 100644 --- a/src/api/client_server/account.rs +++ b/src/api/client_server/account.rs @@ -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 diff --git a/src/api/client_server/session.rs b/src/api/client_server/session.rs index 4f2e2839..1fb6ee43 100644 --- a/src/api/client_server/session.rs +++ b/src/api/client_server/session.rs @@ -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) -> Result { @@ -255,7 +255,7 @@ pub(crate) async fn logout_route(body: Ruma) -> Result,