From a455751a66f1ea3feff3733cd0a0a02072b298f2 Mon Sep 17 00:00:00 2001 From: Ivan Enderlin Date: Mon, 25 Nov 2024 16:40:58 +0100 Subject: [PATCH] doc(common): Fix typos. --- .../src/linked_chunk/relational.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/crates/matrix-sdk-common/src/linked_chunk/relational.rs b/crates/matrix-sdk-common/src/linked_chunk/relational.rs index 56979ced5be..7f4983ca270 100644 --- a/crates/matrix-sdk-common/src/linked_chunk/relational.rs +++ b/crates/matrix-sdk-common/src/linked_chunk/relational.rs @@ -198,7 +198,7 @@ impl RelationalLinkedChunk { }) .expect("Previous chunk should be present"); - // Insert the chunk. + // Link the chunk. entry_for_previous_chunk.next_chunk = Some(new); } @@ -211,7 +211,7 @@ impl RelationalLinkedChunk { }) .expect("Next chunk should be present"); - // Insert the chunk. + // Link the chunk. entry_for_next_chunk.previous_chunk = Some(new); } @@ -360,7 +360,7 @@ mod tests { ], ); - // Chunks are correctly links. + // Chunks are correctly linked. assert_eq!( relational_linked_chunk.chunks, &[ @@ -419,7 +419,7 @@ mod tests { ], ); - // Chunks are correctly links. + // Chunks are correctly linked. assert_eq!( relational_linked_chunk.chunks, &[ @@ -462,7 +462,7 @@ mod tests { ], ); - // Chunks are correctly links. + // Chunks are correctly linked. assert_eq!( relational_linked_chunk.chunks, &[ @@ -550,7 +550,7 @@ mod tests { ], ); - // Chunks are correctly links. + // Chunks are correctly linked. assert_eq!( relational_linked_chunk.chunks, &[ChunkRow { @@ -607,7 +607,7 @@ mod tests { ], ); - // Chunks are correctly links. + // Chunks are correctly linked. assert_eq!( relational_linked_chunk.chunks, &[