Skip to content

Commit

Permalink
[DOC] Fixed a markup in Array#sum [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Feb 6, 2021
1 parent 575c77d commit 94fb62e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion array.c
Expand Up @@ -7679,7 +7679,7 @@ finish_exact_sum(long n, VALUE r, VALUE v, int z)
* sum = init
* array.each {|element| sum += element }
* sum
* For example, <tt>[e1, e2, e3].sum</tt> returns </tt>init + e1 + e2 + e3</tt>.
* For example, <tt>[e1, e2, e3].sum</tt> returns <tt>init + e1 + e2 + e3</tt>.
*
* Examples:
* a = [0, 1, 2, 3]
Expand Down

0 comments on commit 94fb62e

Please sign in to comment.