docs: fix simple typo, posisiton -> position

There is a small typo in upb/table.c.

Should read `position` rather than `posisiton`.
pull/13171/head
Tim Gates 4 years ago
parent 794ce6d061
commit 7225108720
No known key found for this signature in database
GPG Key ID: AE3BE0D53823CF05
  1. 2
      upb/table.c

@ -184,7 +184,7 @@ static void insert(upb_table *t, lookupkey_t key, upb_tabkey tabkey,
/* Head of collider's chain. */
upb_tabent *chain = getentry_mutable(t, hashfunc(mainpos_e->key));
if (chain == mainpos_e) {
/* Existing ent is in its main posisiton (it has the same hash as us, and
/* Existing ent is in its main position (it has the same hash as us, and
* is the head of our chain). Insert to new ent and append to this chain. */
new_e->next = mainpos_e->next;
mainpos_e->next = new_e;

Loading…
Cancel
Save