From 3de5161dd8850cdbfccb93ee9f8ee85a5b149f7d Mon Sep 17 00:00:00 2001 From: Paul Sanders Date: Thu, 31 Dec 2020 07:32:27 -0500 Subject: [PATCH] Fixing a comment typo --- meilisearch-schema/src/position_map.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meilisearch-schema/src/position_map.rs b/meilisearch-schema/src/position_map.rs index 8d5c675b7..9da578771 100644 --- a/meilisearch-schema/src/position_map.rs +++ b/meilisearch-schema/src/position_map.rs @@ -10,7 +10,7 @@ pub struct PositionMap { } impl PositionMap { - /// insert `id` at the specified `position` updating the other position if a shit if caused by + /// insert `id` at the specified `position` updating the other position if a shift is caused by /// the operation. If `id` is already present in the position map, it is moved to the requested /// `position`, potentially causing shifts. pub fn insert(&mut self, id: FieldId, position: IndexedPos) -> IndexedPos {