Skip to content

Commit 0a2205f

Browse files
zecakehandybalaam
authored andcommitted
refactor(ffi): Remove dead code
Signed-off-by: Kévin Commaille <[email protected]>
1 parent c586812 commit 0a2205f

File tree

2 files changed

+0
-32
lines changed

2 files changed

+0
-32
lines changed

bindings/matrix-sdk-ffi/src/room_directory_search.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -155,11 +155,6 @@ impl RoomDirectorySearch {
155155
}
156156
}
157157

158-
#[derive(uniffi::Record)]
159-
pub struct RoomDirectorySearchEntriesResult {
160-
pub entries_stream: Arc<TaskHandle>,
161-
}
162-
163158
#[derive(uniffi::Enum)]
164159
pub enum RoomDirectorySearchEntryUpdate {
165160
Append { values: Vec<RoomDescription> },

bindings/matrix-sdk-ffi/src/timeline/mod.rs

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -887,33 +887,6 @@ impl TimelineDiff {
887887
}
888888
}
889889

890-
#[derive(uniffi::Record)]
891-
pub struct InsertData {
892-
pub index: u32,
893-
pub item: Arc<TimelineItem>,
894-
}
895-
896-
#[derive(uniffi::Record)]
897-
pub struct SetData {
898-
pub index: u32,
899-
pub item: Arc<TimelineItem>,
900-
}
901-
902-
#[derive(Clone, Copy, uniffi::Enum)]
903-
pub enum TimelineChange {
904-
Append,
905-
Clear,
906-
Insert,
907-
Set,
908-
Remove,
909-
PushBack,
910-
PushFront,
911-
PopBack,
912-
PopFront,
913-
Truncate,
914-
Reset,
915-
}
916-
917890
#[derive(Clone, uniffi::Record)]
918891
pub struct TimelineUniqueId {
919892
id: String,

0 commit comments

Comments
 (0)