Skip to content

Commit a455751

Browse files
committed
doc(common): Fix typos.
1 parent fa07bd9 commit a455751

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

crates/matrix-sdk-common/src/linked_chunk/relational.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ impl<Item, Gap> RelationalLinkedChunk<Item, Gap> {
198198
})
199199
.expect("Previous chunk should be present");
200200

201-
// Insert the chunk.
201+
// Link the chunk.
202202
entry_for_previous_chunk.next_chunk = Some(new);
203203
}
204204

@@ -211,7 +211,7 @@ impl<Item, Gap> RelationalLinkedChunk<Item, Gap> {
211211
})
212212
.expect("Next chunk should be present");
213213

214-
// Insert the chunk.
214+
// Link the chunk.
215215
entry_for_next_chunk.previous_chunk = Some(new);
216216
}
217217

@@ -360,7 +360,7 @@ mod tests {
360360
],
361361
);
362362

363-
// Chunks are correctly links.
363+
// Chunks are correctly linked.
364364
assert_eq!(
365365
relational_linked_chunk.chunks,
366366
&[
@@ -419,7 +419,7 @@ mod tests {
419419
],
420420
);
421421

422-
// Chunks are correctly links.
422+
// Chunks are correctly linked.
423423
assert_eq!(
424424
relational_linked_chunk.chunks,
425425
&[
@@ -462,7 +462,7 @@ mod tests {
462462
],
463463
);
464464

465-
// Chunks are correctly links.
465+
// Chunks are correctly linked.
466466
assert_eq!(
467467
relational_linked_chunk.chunks,
468468
&[
@@ -550,7 +550,7 @@ mod tests {
550550
],
551551
);
552552

553-
// Chunks are correctly links.
553+
// Chunks are correctly linked.
554554
assert_eq!(
555555
relational_linked_chunk.chunks,
556556
&[ChunkRow {
@@ -607,7 +607,7 @@ mod tests {
607607
],
608608
);
609609

610-
// Chunks are correctly links.
610+
// Chunks are correctly linked.
611611
assert_eq!(
612612
relational_linked_chunk.chunks,
613613
&[

0 commit comments

Comments
 (0)