Skip to content

Commit ab9f90e

Browse files
committed
remove dip1000 artifacts
1 parent 7c16647 commit ab9f90e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

source/mir/ndslice/slice.d

+6-6
Original file line numberDiff line numberDiff line change
@@ -1087,7 +1087,7 @@ public:
10871087
Returns: static array of lengths
10881088
See_also: $(LREF .Slice.structure)
10891089
+/
1090-
size_t[N] shape()() @trusted @property const scope
1090+
size_t[N] shape()() @trusted @property const
10911091
{
10921092
return _lengths[0 .. N];
10931093
}
@@ -1114,7 +1114,7 @@ public:
11141114
Returns: static array of lengths
11151115
See_also: $(LREF .Slice.structure)
11161116
+/
1117-
ptrdiff_t[N] strides()() @trusted @property const scope
1117+
ptrdiff_t[N] strides()() @trusted @property const
11181118
{
11191119
static if (N <= S)
11201120
return _strides[0 .. N];
@@ -1321,15 +1321,15 @@ public:
13211321
/++
13221322
Multidimensional input range primitive.
13231323
+/
1324-
bool empty(size_t dimension = 0)() @safe @property const scope
1324+
bool empty(size_t dimension = 0)() @safe @property const
13251325
if (dimension < N)
13261326
{
13271327
return _lengths[dimension] == 0;
13281328
}
13291329

13301330
///ditto
13311331
static if (N == 1)
1332-
auto ref Element!dimension front(size_t dimension = 0)() @trusted @property scope return
1332+
auto ref Element!dimension front(size_t dimension = 0)() @trusted @property
13331333
if (dimension < N)
13341334
{
13351335
assert(!empty!dimension);
@@ -1605,7 +1605,7 @@ public:
16051605
/+
16061606
Returns: `true` if for any dimension of completely unpacked slice the length equals to `0`, and `false` otherwise.
16071607
+/
1608-
private bool anyRUEmpty()() @trusted const scope
1608+
private bool anyRUEmpty()() @trusted const
16091609
{
16101610
static if (isInstanceOf!(SliceIterator, Iterator))
16111611
{
@@ -1620,7 +1620,7 @@ public:
16201620
/++
16211621
Returns: `true` if for any dimension the length equals to `0`, and `false` otherwise.
16221622
+/
1623-
bool anyEmpty()() @trusted const scope
1623+
bool anyEmpty()() @trusted const
16241624
{
16251625
return _lengths[0 .. N].anyEmptyShape;
16261626
}

0 commit comments

Comments
 (0)