All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] git-compat-util: fix documentation syntax
@ 2019-10-11 18:24 Beat Bolli
  0 siblings, 0 replies; only message in thread
From: Beat Bolli @ 2019-10-11 18:24 UTC (permalink / raw)
  To: git; +Cc: gitster, Beat Bolli

The parameter marker for x was garbled in its introduction in 89c855ed3c
("git-compat-util.h: implement a different ARRAY_SIZE macro for for
safely deriving the size of array", 2015-04-30).

Signed-off-by: Beat Bolli <dev+git@drbeat.li>
---
 git-compat-util.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/git-compat-util.h b/git-compat-util.h
index 8b8b29a867..607dca7534 100644
--- a/git-compat-util.h
+++ b/git-compat-util.h
@@ -77,7 +77,7 @@
 #endif
 /*
  * ARRAY_SIZE - get the number of elements in a visible array
- *  <at> x: the array whose size you want.
+ * @x: the array whose size you want.
  *
  * This does not work on pointers, or arrays declared as [], or
  * function parameters.  With correct compiler support, such usage
-- 
2.21.0.1020.gf2820cf01a


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-10-11 18:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-11 18:24 [PATCH] git-compat-util: fix documentation syntax Beat Bolli

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.