Skip to content

Commit

Permalink
feat(sdk): LinkedChunk can hold a value for Gaps.
Browse files Browse the repository at this point in the history
This patch updates `ChunkContent::Gap` to hold a content `U`. Thus,
`Chunk` and LinkedChunk` both get a new generic parameter `U`. Some
methods like `new_gap` or `insert_gap_at` take a new `content: U`
parameter.

This type `RoomEvents` (that uses `LinkedChunk`) is also updated
accordingly.
  • Loading branch information
Hywan committed Mar 18, 2024
1 parent 0a7e28f commit 976b1b2
Show file tree
Hide file tree
Showing 2 changed files with 120 additions and 100 deletions.
Loading

0 comments on commit 976b1b2

Please sign in to comment.