https://issues.dlang.org/show_bug.cgi?id=14001
--- Comment #3 from [email protected] --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/3a212c0c72b7177a51dde9d4bbb5bbb5a9254a35 Fix Issue 14001 - Optionally `@nogc` std.random.randomCover Fix Issue 19156 - `@nogc` std.random.randomShuffle Solution is to use a private `_randomIndex` function that is guaranteed to be called only with valid bounds. https://github.com/dlang/phobos/commit/91c9973d72a7f1ad3d958f226508520d257f9ce7 Merge pull request #6657 from n8sh/std-random-14001-19156 Fix Issue 14001 & Issue 19156 - `@nogc` std.random.randomCover and std.random.randomShuffle --
