fix: typos
This commit is contained in:
parent
1712bc0e0e
commit
14b82d1aa5
2 changed files with 2 additions and 2 deletions
|
|
@ -33,7 +33,7 @@ impl ColumnIndex {
|
|||
pub fn remove(&mut self, value: &IndexableValue, id_to_be_removed: Uuid) -> bool {
|
||||
match self.index.get_mut(value) {
|
||||
Some(ids) => {
|
||||
ids.remove(&id_to_be_removed) // true iff was present
|
||||
ids.remove(&id_to_be_removed) // true if was present
|
||||
}
|
||||
None => false,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -144,7 +144,7 @@ impl State {
|
|||
}
|
||||
}
|
||||
|
||||
// Should be used in the case when an indexed is created after the table has existed for a
|
||||
// Should be used in the case when an index is created after the table has existed for a
|
||||
// while. In such a case you need to build the index from the already existing rows.
|
||||
fn update_index_from_table(
|
||||
column_index: &mut ColumnIndex,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue