diff --git a/crates/matrix-sdk-base/src/client.rs b/crates/matrix-sdk-base/src/client.rs index 1a5ebd5a0..9c07c4289 100644 --- a/crates/matrix-sdk-base/src/client.rs +++ b/crates/matrix-sdk-base/src/client.rs @@ -156,8 +156,7 @@ impl BaseClient { /// # Arguments /// /// * `response` - A successful login response that contains our access - /// token - /// and device id. + /// token and device id. pub async fn receive_login_response( &self, response: &api::session::login::v3::Response, @@ -174,8 +173,8 @@ impl BaseClient { /// /// # Arguments /// - /// * `session` - An session that the user already has from a - /// previous login call. + /// * `session` - An session that the user already has from a previous login + /// call. pub async fn restore_login(&self, session: Session) -> Result<()> { self.store.restore_session(session.clone()).await?; diff --git a/crates/matrix-sdk/src/client/mod.rs b/crates/matrix-sdk/src/client/mod.rs index f15ccc042..0290debf2 100644 --- a/crates/matrix-sdk/src/client/mod.rs +++ b/crates/matrix-sdk/src/client/mod.rs @@ -1110,11 +1110,10 @@ impl Client { /// # Arguments /// /// * `registration` - The easiest way to create this request is using the - /// [`register::v3::Request`] - /// itself. - /// + /// [`register::v3::Request`] itself. /// /// # Examples + /// /// ```no_run /// # use std::convert::TryFrom; /// # use matrix_sdk::Client;