Commit 15663ba513
Unsigned
Layout: unified · split
src/connection.rs +1 −1
| @@ -44,7 +44,7 @@ pub struct InteractiveAuthInfo { | |||
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | impl InteractiveAuthInfo { | 46 | impl InteractiveAuthInfo { |
| 47 | pub fn as_auth_data<'a>(&'a self) -> AuthData<'a> { | 47 | pub fn as_auth_data(&self) -> AuthData<'_> { |
| 48 | let mut auth_parameters = BTreeMap::new(); | 48 | let mut auth_parameters = BTreeMap::new(); |
| 49 | let identifier = json!({ | 49 | let identifier = json!({ |
| 50 | "type": "m.id.user", | 50 | "type": "m.id.user", |