git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Fix a small flaw in the comment of strmap.h

From
Teng Long <dyroneteng@gmail.com>
Date
May 6, 2021, 08:19 UTC
Message-ID
<20210506081936.29887-1-dyroneteng@gmail.com>
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
Next: Junio C Hamano
Message 1 of 3 in “Fix a small flaw in the comment of strmap.h”
  1. Fix a small flaw in the comment of strmap.hTeng Long, May 6, 2021
  2. Junio C HamanoMay 6, 2021
  3. dyrone tengMay 6, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.