Skip to content

Commit

Permalink
Fix comment typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
philj56 committed Dec 30, 2024
1 parent e2bed7e commit 0897d69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/string_vec.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ void string_ref_vec_history_sort(struct string_ref_vec *restrict vec, struct his
/*
* To find elements without assuming the vector is pre-sorted, we use a
* hash table, which results in O(N+M) work (rather than O(N*M) for
* linear search.
* linear search).
*/
GHashTable *hash = g_hash_table_new(g_str_hash, g_str_equal);
for (size_t i = 0; i < vec->count; i++) {
Expand Down

0 comments on commit 0897d69

Please sign in to comment.