Skip to content

Commit 427c732

Browse files
committed
ditto
1 parent 8069c59 commit 427c732

File tree

2 files changed

+3
-17
lines changed

2 files changed

+3
-17
lines changed

source/mir/rc/array.d

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -347,30 +347,16 @@ auto rcarray(T = void, Range)(Range range)
347347
}
348348
}
349349

350-
/// ditto
351-
RCArray!V rcarray(T = void, V)(V[] values...)
352-
if (is(T == void) && hasIndirections!V)
353-
{
354-
return .rcarray(values, true);
355-
}
356-
357350
/// ditto
358351
RCArray!V rcarray(T = void, V)(scope V[] values...)
359-
if (is(T == void) && !hasIndirections!V)
352+
if (is(T == void))
360353
{
361354
return .rcarray(values, true);
362355
}
363356

364-
/// ditto
365-
RCArray!V rcarray(T = void, V)(V[] values, bool deallocate)
366-
if (is(T == void) && hasIndirections!V)
367-
{
368-
return .rcarray!V(values, deallocate);
369-
}
370-
371357
/// ditto
372358
RCArray!V rcarray(T = void, V)(scope V[] values, bool deallocate)
373-
if (is(T == void) && !hasIndirections!V)
359+
if (is(T == void))
374360
{
375361
return .rcarray!V(values, deallocate);
376362
}

source/mir/series.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ struct mir_series(IndexIterator_, Iterator_, size_t N_ = 1, SliceKind kind_ = Co
406406
}
407407

408408
/// ditto
409-
auto opBinary(string op : "~")(const typeof(this) rhs) const
409+
auto opBinary(string op : "~")(const typeof(this) rhs) const @trusted
410410
{
411411
return unionSeries(this.lightScope, rhs.lightScope);
412412
}

0 commit comments

Comments
 (0)