Skip to content

Commit 141752b

Browse files
committed
Fix typos in simplehash.h
Author: Richard Guo <guofenglinux@gmail.com> Discussion: https://www.postgresql.org/message-id/flat/18252-d46d27900a277d87@postgresql.org
1 parent a7928a5 commit 141752b

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

src/include/lib/simplehash.h

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -770,9 +770,8 @@ SH_INSERT_HASH_INTERNAL(SH_TYPE * tb, SH_KEY_TYPE key, uint32 hash, bool *found)
770770
}
771771

772772
/*
773-
* Insert the key key into the hash-table, set *found to true if the key
774-
* already exists, false otherwise. Returns the hash-table entry in either
775-
* case.
773+
* Insert the key into the hash-table, set *found to true if the key already
774+
* exists, false otherwise. Returns the hash-table entry in either case.
776775
*/
777776
SH_SCOPE SH_ELEMENT_TYPE *
778777
SH_INSERT(SH_TYPE * tb, SH_KEY_TYPE key, bool *found)
@@ -783,9 +782,9 @@ SH_INSERT(SH_TYPE * tb, SH_KEY_TYPE key, bool *found)
783782
}
784783

785784
/*
786-
* Insert the key key into the hash-table using an already-calculated
787-
* hash. Set *found to true if the key already exists, false
788-
* otherwise. Returns the hash-table entry in either case.
785+
* Insert the key into the hash-table using an already-calculated hash. Set
786+
* *found to true if the key already exists, false otherwise. Returns the
787+
* hash-table entry in either case.
789788
*/
790789
SH_SCOPE SH_ELEMENT_TYPE *
791790
SH_INSERT_HASH(SH_TYPE * tb, SH_KEY_TYPE key, uint32 hash, bool *found)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy