]> git.ipfire.org Git - thirdparty/git.git/commitdiff
hashmap: fix typo in usage docs
authorElijah Newren <newren@gmail.com>
Tue, 28 Jul 2020 20:45:39 +0000 (20:45 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 28 Jul 2020 21:28:15 +0000 (14:28 -0700)
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
hashmap.h

index 79ae9f80de1c19d5798006c34bc88ee786a0357a..ef220de4c64dabceb01273147b04bf5ebe897879 100644 (file)
--- a/hashmap.h
+++ b/hashmap.h
@@ -168,7 +168,7 @@ struct hashmap_entry {
  * argument `keydata`, respectively. Otherwise, `keydata` is NULL.
  *
  * When it is too expensive to allocate a user entry (either because it is
- * large or varialbe sized, such that it is not on the stack), then the
+ * large or variable sized, such that it is not on the stack), then the
  * relevant data to check for equality should be passed via `keydata`.
  * In this case `key` can be a stripped down version of the user key data
  * or even just a hashmap_entry having the correct hash.