Skip to content

Commit

Permalink
doc(common): Fix typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hywan committed Nov 25, 2024
1 parent fa07bd9 commit a455751
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions crates/matrix-sdk-common/src/linked_chunk/relational.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ impl<Item, Gap> RelationalLinkedChunk<Item, Gap> {
})
.expect("Previous chunk should be present");

// Insert the chunk.
// Link the chunk.
entry_for_previous_chunk.next_chunk = Some(new);
}

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

// Insert the chunk.
// Link the chunk.
entry_for_next_chunk.previous_chunk = Some(new);
}

Expand Down Expand Up @@ -360,7 +360,7 @@ mod tests {
],
);

// Chunks are correctly links.
// Chunks are correctly linked.
assert_eq!(
relational_linked_chunk.chunks,
&[
Expand Down Expand Up @@ -419,7 +419,7 @@ mod tests {
],
);

// Chunks are correctly links.
// Chunks are correctly linked.
assert_eq!(
relational_linked_chunk.chunks,
&[
Expand Down Expand Up @@ -462,7 +462,7 @@ mod tests {
],
);

// Chunks are correctly links.
// Chunks are correctly linked.
assert_eq!(
relational_linked_chunk.chunks,
&[
Expand Down Expand Up @@ -550,7 +550,7 @@ mod tests {
],
);

// Chunks are correctly links.
// Chunks are correctly linked.
assert_eq!(
relational_linked_chunk.chunks,
&[ChunkRow {
Expand Down Expand Up @@ -607,7 +607,7 @@ mod tests {
],
);

// Chunks are correctly links.
// Chunks are correctly linked.
assert_eq!(
relational_linked_chunk.chunks,
&[
Expand Down

0 comments on commit a455751

Please sign in to comment.