File tree 2 files changed +4
-4
lines changed
crates/matrix-sdk/src/event_cache/linked_chunk 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -115,14 +115,14 @@ pub enum Error {
115
115
identifier : ChunkIdentifier ,
116
116
} ,
117
117
118
- /// A chunk is a gap, and it was expected to be an items.
118
+ /// A chunk is a gap chunk , and it was expected to be an items.
119
119
#[ error( "The chunk is a gap: `{identifier:?}`" ) ]
120
120
ChunkIsAGap {
121
121
/// The chunk identifier.
122
122
identifier : ChunkIdentifier ,
123
123
} ,
124
124
125
- /// A chunk is an items, and it was expected to be a gap.
125
+ /// A chunk is an items chunk , and it was expected to be a gap.
126
126
#[ error( "The chunk is an item: `{identifier:?}`" ) ]
127
127
ChunkIsItems {
128
128
/// The chunk identifier.
Original file line number Diff line number Diff line change @@ -79,8 +79,8 @@ pub enum Update<Item, Gap> {
79
79
/// The last items of a chunk have been detached, i.e. the chunk has been
80
80
/// truncated.
81
81
DetachLastItems {
82
- /// The split position. Before this position (`[ ..position] `), items are
83
- /// kept, from this position (`[ position..] `), items are
82
+ /// The split position. Before this position (`..position`), items are
83
+ /// kept, from this position (`position..`), items are
84
84
/// detached.
85
85
at : Position ,
86
86
} ,
You can’t perform that action at this time.
0 commit comments