From 6c00e03c19049924e3e08c250b0f7301ffdb0893 Mon Sep 17 00:00:00 2001 From: digital Date: Wed, 18 Jan 2023 19:11:51 +0100 Subject: [PATCH] client-api: correct typos in comments --- crates/ruma-client-api/src/session/get_login_types.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/ruma-client-api/src/session/get_login_types.rs b/crates/ruma-client-api/src/session/get_login_types.rs index cff8db1f..e078f71f 100644 --- a/crates/ruma-client-api/src/session/get_login_types.rs +++ b/crates/ruma-client-api/src/session/get_login_types.rs @@ -148,7 +148,7 @@ pub mod v3 { pub struct TokenLoginType {} impl TokenLoginType { - /// Creates a new `PasswordLoginType`. + /// Creates a new `TokenLoginType`. pub fn new() -> Self { Self {} } @@ -165,7 +165,7 @@ pub mod v3 { } impl SsoLoginType { - /// Creates a new `PasswordLoginType`. + /// Creates a new `SsoLoginType`. pub fn new() -> Self { Self::default() }