summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Elijah Newren <newren@gmail.com>2020-07-28 20:45:39 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-07-28 14:28:15 -0700
commit861c4ce141a88e40d8713540ba6b6ede0ccfbe94 (patch)
tree354a62388464be13d39f1168565cf764e85d3065
parentRemove doubled words in various comments (diff)
downloadtgif-861c4ce141a88e40d8713540ba6b6ede0ccfbe94.tar.xz
hashmap: fix typo in usage docs
Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--hashmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hashmap.h b/hashmap.h
index 79ae9f80de..ef220de4c6 100644
--- 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.