mirror of
https://github.com/dlang/phobos.git
synced 2025-04-29 22:50:38 +03:00
Mark the unittest for std.array.minimallyInitializedArray as @safe
This commit is contained in:
parent
4721a44fb3
commit
1a7546cadb
1 changed files with 1 additions and 1 deletions
|
@ -325,7 +325,7 @@ if(allSatisfy!(isIntegral, I))
|
|||
return arrayAllocImpl!(true, T, I)(sizes);
|
||||
}
|
||||
|
||||
unittest
|
||||
@safe unittest
|
||||
{
|
||||
double[] arr = minimallyInitializedArray!(double[])(100);
|
||||
assert(arr.length == 100);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue