mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-06 15:04:11 -04:00
minor clippy fixes
This commit is contained in:
@@ -333,7 +333,7 @@ impl AppService {
|
||||
};
|
||||
|
||||
let client =
|
||||
Client::new_with_config(self.homeserver_url.clone(), config.appservice_mode())?;
|
||||
Client::new_with_config(self.homeserver_url.clone(), config.appservice_mode()).await?;
|
||||
|
||||
let session = Session {
|
||||
access_token: self.registration.as_token.clone(),
|
||||
|
||||
@@ -275,7 +275,7 @@ impl BaseClient {
|
||||
#[cfg(feature = "encryption")]
|
||||
cryptostore: Mutex::new(crypto_store).into(),
|
||||
#[cfg(feature = "sled_cryptostore")]
|
||||
store_path: config.store_path.into(),
|
||||
store_path: config.store_path,
|
||||
#[cfg(feature = "sled_cryptostore")]
|
||||
store_passphrase: config.passphrase.into(),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user