diff --git a/docs/c-api/util.h/mg_match_prefix.md b/docs/c-api/util.h/mg_match_prefix.md
index 17da2ea7aadc63d2c706f2a6fc6885663ea0c7e6..5f4eb943e1e535bf0be13bc0997e40024bc8af2b 100644
--- a/docs/c-api/util.h/mg_match_prefix.md
+++ b/docs/c-api/util.h/mg_match_prefix.md
@@ -6,7 +6,7 @@ signature: |
   int mg_match_prefix(const char *pattern, int pattern_len, const char *str);
 ---
 
-Match 0-terminated string (mg_match_prefix) or string with given length
+Matches 0-terminated string (mg_match_prefix) or string with given length
 mg_match_prefix_n against a glob pattern.
-Match is case-insensitive. Return number of bytes matched, or -1 if no match. 
+Match is case-insensitive. Returns the number of bytes matched or -1 if no match.