Merge pull request #346 from timgates42/bugfix_typo_position

docs: fix simple typo, posisiton -> position
pull/13171/head
Joshua Haberman 4 years ago committed by GitHub
commit 6535cbe380
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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