Skip to content

Commit 81a2fb0

Browse files
committed
chore(sdk): Simplify imports.
1 parent d16f635 commit 81a2fb0

1 file changed

Lines changed: 8 additions & 14 deletions

File tree

  • crates/matrix-sdk/src/event_cache/caches/pinned_events

crates/matrix-sdk/src/event_cache/caches/pinned_events/mod.rs

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -39,24 +39,18 @@ pub(super) use self::updates::PinnedEventsCacheUpdateSender;
3939
#[cfg(feature = "e2e-encryption")]
4040
use super::super::redecryptor::ResolvedUtd;
4141
use super::{
42-
super::{EventCacheError, EventsOrigin, Result, persistence::send_updates_to_store},
43-
TimelineVectorDiffs,
44-
event_linked_chunk::EventLinkedChunk,
42+
super::{
43+
EventCacheError, EventsOrigin, Result,
44+
deduplicator::{DeduplicationOutcome, filter_duplicate_events},
45+
persistence::{find_event, send_updates_to_store},
46+
},
47+
EventLocation, TimelineVectorDiffs,
48+
event_linked_chunk::{EventLinkedChunk, sort_positions_descending},
4549
lock,
4650
lock::Reload as _,
4751
room::RoomEventCacheLinkedChunkUpdate,
4852
};
49-
use crate::{
50-
Room,
51-
client::WeakClient,
52-
config::RequestConfig,
53-
event_cache::{
54-
caches::{EventLocation, event_linked_chunk::sort_positions_descending},
55-
deduplicator::{DeduplicationOutcome, filter_duplicate_events},
56-
persistence::find_event,
57-
},
58-
room::WeakRoom,
59-
};
53+
use crate::{Room, client::WeakClient, config::RequestConfig, room::WeakRoom};
6054

6155
pub(in super::super) struct PinnedEventsCacheState {
6256
/// The ID of the room owning this list of pinned events.

0 commit comments

Comments
 (0)