mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-04 14:04:40 -04:00
chore: Improve doc comment formatting
This commit is contained in:
committed by
Jonas Platte
parent
253affeb0c
commit
1cfd69a880
@@ -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?;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user