Skip to content

Fix IteratorRandom::sample and sample_fill consuming the iterator when amount == 0 - #1810

Closed
teddytennant wants to merge 1 commit into
rust-random:masterfrom
teddytennant:iter-sample-amount-zero
Closed

Fix IteratorRandom::sample and sample_fill consuming the iterator when amount == 0#1810
teddytennant wants to merge 1 commit into
rust-random:masterfrom
teddytennant:iter-sample-amount-zero

Commits

Commits on Jul 11, 2026