summaryrefslogtreecommitdiff
path: root/enum.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-10-25 00:55:45 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-10-25 01:04:51 +0900
commit4fb71575e270092770951e6a69bf006c71fadb55 (patch)
treeec1081ce3906f18062e522a4563da6a2abe5332e /enum.c
parentdf4445128b52196488e3a6b3f7d8c04d0515979d (diff)
[DOC] Fix code markup [ci skip]
Code markup in RDoc must not be concatenated with anothr word.
Diffstat (limited to 'enum.c')
-rw-r--r--enum.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/enum.c b/enum.c
index 3a274595f8..b54acf957c 100644
--- a/enum.c
+++ b/enum.c
@@ -3204,8 +3204,8 @@ zip_i(RB_BLOCK_CALL_FUNC_ARGLIST(val, memoval))
* Each nested array <tt>new_array[n]</tt>
* is of size <tt>other_enums.size+1</tt>, and contains:
*
- * - The +n+th element of self.
- * - The +n+th element of each of the +other_enums+.
+ * - The +n+-th element of self.
+ * - The +n+-th element of each of the +other_enums+.
*
* If all +other_enums+ and self are the same size,
* all elements are included in the result, and there is no +nil+-filling: