mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-06-11 01:44:23 -04:00
This patch introduces the `PinnedEventsCacheInner` type that is used inside `PinnedEventsCache` to make it cheap to clone. It was already the case before with all the fields beind `Arc<_>` but we are about to move data in their correct place, and thus it will add more `Arc<_>`, which is not good. Let's adopt the same patterns as the other caches too for the sake of consistency.