Commit 15663ba513

15663ba513262b6e8ffac4e333ade02d854f88d6

parent: 05b21d70be

Unsigned

Damir Jelić <poljar@termina.org.uk> · 2020-10-16 18:58 UTC

connection: Fix a clippy warning.

Layout: unified · split

src/connection.rs +1 −1
@@ -44,7 +44,7 @@ pub struct InteractiveAuthInfo {
44} 44}
45 45
46impl InteractiveAuthInfo { 46impl 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",