git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Fix a small flaw in the comment of strmap.h
@ 2021-05-06  8:19 Teng Long
  2021-05-06  8:46 ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: Teng Long @ 2021-05-06  8:19 UTC (permalink / raw)
  To: git; +Cc: Teng Long

Signed-off-by: Teng Long <dyroneteng@gmail.com>
---
 strmap.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/strmap.h b/strmap.h
index 1e152d832d..0d1d00d14e 100644
--- a/strmap.h
+++ b/strmap.h
@@ -78,7 +78,7 @@ struct strmap_entry *strmap_get_entry(struct strmap *map, const char *str);
 void *strmap_get(struct strmap *map, const char *str);
 
 /*
- * Return non-zero iff "str" is present in the map. This differs from
+ * Return non-zero if "str" is present in the map. This differs from
  * strmap_get() in that it can distinguish entries with a NULL data pointer.
  */
 int strmap_contains(struct strmap *map, const char *str);
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-05-06  8:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-06  8:19 [PATCH] Fix a small flaw in the comment of strmap.h Teng Long
2021-05-06  8:46 ` Junio C Hamano
2021-05-06  8:49   ` dyrone teng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).