From 288abfa8dfdb466ae8d371dd14b33149ab6b13ba Mon Sep 17 00:00:00 2001 From: Caleb Schoepp Date: Sat, 21 Nov 2020 23:00:33 -0700 Subject: [PATCH] Improve wording of block comment for hashmap_new --- hashmap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hashmap.c b/hashmap.c index 17b5dfd..bc382df 100644 --- a/hashmap.c +++ b/hashmap.c @@ -75,9 +75,9 @@ static uint64_t get_hash(struct hashmap *map, void *key) { // following `hash` function. These can be any value you wish but it's often // best to use randomly generated values. // Param `hash` is a function that generates a hash value for an item. It's -// important that you provice good hash function, otherwise will perform poorly -// or be vulnerable to Denial-of-service attacks. This implementation comes -// with two helper functions `hashmap_sip()` and `hashmap_murmur()` +// important that you provide a good hash function, otherwise it will perform +// poorly or be vulnerable to Denial-of-service attacks. This implementation +// comes with two helper functions `hashmap_sip()` and `hashmap_murmur()`. // Param `compare` is a function that compares items in the tree. See the // qsort stdlib function for an example of how this function works. // The hashmap must be freed with hashmap_free().