Skip to content

Commit 439bdb2

Browse files
committed
iteration algorithms: add support for ranges and arrays
1 parent 8099de8 commit 439bdb2

File tree

4 files changed

+230
-51
lines changed

4 files changed

+230
-51
lines changed

source/mir/array/primitives.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ unittest
174174
}
175175

176176
///
177-
size_t length(size_t d : 0, T)(T[] array)
177+
size_t length(size_t d : 0, T)(in T[] array)
178178
if (d == 0)
179179
{
180180
pragma(inline, true);

0 commit comments

Comments
 (0)