client-api: Fix small mistakes in IncomingAuthData::new docs

This commit is contained in:
Jonas Platte 2021-09-27 19:51:10 +02:00
parent d92e7b4ca7
commit 031dedebc9
No known key found for this signature in database
GPG Key ID: CC154DE0E30B7C67

View File

@ -158,8 +158,8 @@ impl IncomingAuthData {
/// Creates a new `IncomingAuthData` with the given `auth_type` string, session and data. /// Creates a new `IncomingAuthData` with the given `auth_type` string, session and data.
/// ///
/// Prefer to use the public variants of `IncomingAuthData` where possible; this constructor is /// Prefer to use the public variants of `IncomingAuthData` where possible; this constructor is
/// meant be used for unsupported message types only and does not allow setting arbitrary /// meant be used for unsupported authentication types only and does not allow setting arbitrary
/// data for supported ones. This method can't construct the `RegistrationToken` variant. /// data for supported ones.
/// ///
/// # Errors /// # Errors
/// ///