mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-23 13:24:27 +01:00
Merge #1151
1151: Fixing a comment typo r=MarinPostma a=sanders41 Fixed a typo in a code comment. Co-authored-by: Paul Sanders <psanders1@gmail.com>
This commit is contained in:
commit
a05aef5c14
@ -10,7 +10,7 @@ pub struct PositionMap {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl 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
|
/// the operation. If `id` is already present in the position map, it is moved to the requested
|
||||||
/// `position`, potentially causing shifts.
|
/// `position`, potentially causing shifts.
|
||||||
pub fn insert(&mut self, id: FieldId, position: IndexedPos) -> IndexedPos {
|
pub fn insert(&mut self, id: FieldId, position: IndexedPos) -> IndexedPos {
|
||||||
|
Loading…
Reference in New Issue
Block a user