From 031dedebc99e17a3dc0b5f63073b7324b04a4179 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Mon, 27 Sep 2021 19:51:10 +0200 Subject: [PATCH] client-api: Fix small mistakes in IncomingAuthData::new docs --- crates/ruma-client-api/src/r0/uiaa.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/ruma-client-api/src/r0/uiaa.rs b/crates/ruma-client-api/src/r0/uiaa.rs index 59f21323..a829ee81 100644 --- a/crates/ruma-client-api/src/r0/uiaa.rs +++ b/crates/ruma-client-api/src/r0/uiaa.rs @@ -158,8 +158,8 @@ impl IncomingAuthData { /// 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 - /// meant be used for unsupported message types only and does not allow setting arbitrary - /// data for supported ones. This method can't construct the `RegistrationToken` variant. + /// meant be used for unsupported authentication types only and does not allow setting arbitrary + /// data for supported ones. /// /// # Errors ///