From b4aa66d68fa1dda8508436629bd4c91f8926b732 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Fri, 14 May 2021 14:36:29 +0200 Subject: [PATCH] client: Fix broken intra-doc links --- crates/ruma-client/src/client_api.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/crates/ruma-client/src/client_api.rs b/crates/ruma-client/src/client_api.rs index 54ac3b32..39864789 100644 --- a/crates/ruma-client/src/client_api.rs +++ b/crates/ruma-client/src/client_api.rs @@ -17,8 +17,8 @@ use super::{Client, Error, HttpClient}; impl Client { /// Log in with a username and password. /// - /// In contrast to [`request`], this method stores the access token returned by the endpoint in - /// this client, in addition to returning it. + /// In contrast to [`send_request`][Self::send_request], this method stores the access token + /// returned by the endpoint in this client, in addition to returning it. pub async fn log_in( &self, user: &str, @@ -44,8 +44,8 @@ impl Client { /// Register as a guest. /// - /// In contrast to [`request`], this method stores the access token returned by the endpoint in - /// this client, in addition to returning it. + /// In contrast to [`send_request`][Self::send_request], this method stores the access token + /// returned by the endpoint in this client, in addition to returning it. pub async fn register_guest( &self, ) -> Result> { @@ -60,8 +60,8 @@ impl Client { /// Register as a new user on this server. /// - /// In contrast to [`request`], this method stores the access token returned by the endpoint in - /// this client, in addition to returning it. + /// In contrast to [`send_request`][Self::send_request], this method stores the access token + /// returned by the endpoint in this client, in addition to returning it. /// /// The username is the local part of the returned user_id. If it is omitted from this request, /// the server will generate one.