client: Fix broken intra-doc links

This commit is contained in:
Jonas Platte 2021-05-14 14:36:29 +02:00
parent c2957df174
commit b4aa66d68f
No known key found for this signature in database
GPG Key ID: 7D261D771D915378

View File

@ -17,8 +17,8 @@ use super::{Client, Error, HttpClient};
impl<C: HttpClient> Client<C> { impl<C: HttpClient> Client<C> {
/// Log in with a username and password. /// Log in with a username and password.
/// ///
/// In contrast to [`request`], this method stores the access token returned by the endpoint in /// In contrast to [`send_request`][Self::send_request], this method stores the access token
/// this client, in addition to returning it. /// returned by the endpoint in this client, in addition to returning it.
pub async fn log_in( pub async fn log_in(
&self, &self,
user: &str, user: &str,
@ -44,8 +44,8 @@ impl<C: HttpClient> Client<C> {
/// Register as a guest. /// Register as a guest.
/// ///
/// In contrast to [`request`], this method stores the access token returned by the endpoint in /// In contrast to [`send_request`][Self::send_request], this method stores the access token
/// this client, in addition to returning it. /// returned by the endpoint in this client, in addition to returning it.
pub async fn register_guest( pub async fn register_guest(
&self, &self,
) -> Result<register::Response, Error<C::Error, ruma_client_api::r0::uiaa::UiaaResponse>> { ) -> Result<register::Response, Error<C::Error, ruma_client_api::r0::uiaa::UiaaResponse>> {
@ -60,8 +60,8 @@ impl<C: HttpClient> Client<C> {
/// Register as a new user on this server. /// Register as a new user on this server.
/// ///
/// In contrast to [`request`], this method stores the access token returned by the endpoint in /// In contrast to [`send_request`][Self::send_request], this method stores the access token
/// this client, in addition to returning it. /// 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 username is the local part of the returned user_id. If it is omitted from this request,
/// the server will generate one. /// the server will generate one.