diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2024-01-02 10:18:47 +0100 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2024-01-02 10:18:47 +0100 |
commit | 141752bbb0308a40bdbef3ab0a2ba31162813412 (patch) | |
tree | 5a84a15acbf451f7ba2a151e95a1beaaec0054b8 /src | |
parent | a7928a57b9f00c14dd1e257aaad9bffb7f5c98c8 (diff) | |
download | postgresql-141752bbb0308a40bdbef3ab0a2ba31162813412.tar.gz postgresql-141752bbb0308a40bdbef3ab0a2ba31162813412.zip |
Fix typos in simplehash.h
Author: Richard Guo <guofenglinux@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/18252-d46d27900a277d87@postgresql.org
Diffstat (limited to 'src')
-rw-r--r-- | src/include/lib/simplehash.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/include/lib/simplehash.h b/src/include/lib/simplehash.h index b1a3d7f9277..864cbbe3db4 100644 --- a/src/include/lib/simplehash.h +++ b/src/include/lib/simplehash.h @@ -770,9 +770,8 @@ restart: } /* - * Insert the key key into the hash-table, set *found to true if the key - * already exists, false otherwise. Returns the hash-table entry in either - * case. + * Insert the key into the hash-table, set *found to true if the key already + * exists, false otherwise. Returns the hash-table entry in either case. */ SH_SCOPE SH_ELEMENT_TYPE * 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) } /* - * Insert the key key into the hash-table using an already-calculated - * hash. Set *found to true if the key already exists, false - * otherwise. Returns the hash-table entry in either case. + * Insert the key into the hash-table using an already-calculated hash. Set + * *found to true if the key already exists, false otherwise. Returns the + * hash-table entry in either case. */ SH_SCOPE SH_ELEMENT_TYPE * SH_INSERT_HASH(SH_TYPE * tb, SH_KEY_TYPE key, uint32 hash, bool *found) |