mirror of
https://github.com/dlang/phobos.git
synced 2025-04-30 15:10:46 +03:00
Made unittest for rndGen
also nothrow @nogc
As requested by @ZombineDev
This commit is contained in:
parent
3d54b63c5d
commit
9bb605b8d1
1 changed files with 1 additions and 1 deletions
|
@ -1621,7 +1621,7 @@ A singleton instance of the default random number generator
|
||||||
}
|
}
|
||||||
|
|
||||||
///
|
///
|
||||||
@safe unittest
|
@safe nothrow @nogc unittest
|
||||||
{
|
{
|
||||||
import std.algorithm.iteration : sum;
|
import std.algorithm.iteration : sum;
|
||||||
import std.range : take;
|
import std.range : take;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue