Skip to content

Commit de915c9

Browse files
committed
Update doc [ci skip]
1 parent 59449de commit de915c9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ext/enumerable/statistics/extension/statistics.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1545,7 +1545,8 @@ enum_sample_multiple_unweighted(VALUE obj, long size, VALUE random, int replace_
15451545
* Choose a random element or +n+ random elements from the enumerable.
15461546
*
15471547
* The enumerable is completely scanned just once for choosing random elements
1548-
* even if +n+ is ommitted or +n+ is +1+.
1548+
* even if +n+ is ommitted or +n+ is +1+. This means this method cannot be
1549+
* applicable to an infinite enumerable.
15491550
*
15501551
* +replace:+ keyword specifies whether the sample is with or without
15511552
* replacement.

0 commit comments

Comments
 (0)