Skip to content

Commit

Permalink
review: cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
BillCarsonFr committed May 27, 2024
1 parent a042b3d commit 0e456cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bindings/matrix-sdk-crypto-ffi/src/machine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1537,11 +1537,11 @@ impl OlmMachine {

/// Clear any in-memory caches because they may be out of sync with the
/// underlying data store.
///
///
/// The crypto store layer is caching olm sessions for a given device.
/// When used in a multi-process context this cache will get outdated.
/// If the machine is used by another process, the cache must be invalidating when the
/// main process is resumed.
/// If the machine is used by another process, the cache must be
/// invalidating when the main process is resumed.
pub async fn clear_crypto_cache(&self) {
self.inner.clear_crypto_cache().await
}
Expand Down

0 comments on commit 0e456cd

Please sign in to comment.