crypto: Fix a clippy warning
parent
ef5d7ca579
commit
544881f11c
|
@ -426,8 +426,11 @@ impl CryptoStore for SledStore {
|
||||||
}
|
}
|
||||||
|
|
||||||
async fn save_account(&self, account: ReadOnlyAccount) -> Result<()> {
|
async fn save_account(&self, account: ReadOnlyAccount) -> Result<()> {
|
||||||
let mut changes = Changes::default();
|
let changes = Changes {
|
||||||
changes.account = Some(account);
|
account: Some(account),
|
||||||
|
..Default::default()
|
||||||
|
};
|
||||||
|
|
||||||
self.save_changes(changes).await
|
self.save_changes(changes).await
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue