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 {
4444}
4545
4646impl InteractiveAuthInfo {
47 pub fn as_auth_data<'a>(&'a self) -> AuthData<'a> {
47 pub fn as_auth_data(&self) -> AuthData<'_> {
4848 let mut auth_parameters = BTreeMap::new();
4949 let identifier = json!({
5050 "type": "m.id.user",