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() }