Skip to content

Commit d6a1dc8

Browse files
committed
Update doc [ci skip]
1 parent 727e607 commit d6a1dc8

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
@@ -1525,7 +1525,8 @@ enum_sample_multiple_unweighted(VALUE obj, long size, VALUE random, int replace_
15251525
* Choose a random element or +n+ random elements from the enumerable.
15261526
*
15271527
* The enumerable is completely scanned just once for choosing random elements
1528-
* even if +n+ is ommitted or +n+ is +1+.
1528+
* even if +n+ is ommitted or +n+ is +1+. This means this method cannot be
1529+
* applicable to an infinite enumerable.
15291530
*
15301531
* +replace:+ keyword specifies whether the sample is with or without
15311532
* replacement.

0 commit comments

Comments
 (0)