Skip to content

Commit 5f3a21a

Browse files
committed
ditto
1 parent 47a9975 commit 5f3a21a

File tree

6 files changed

+9
-7
lines changed

6 files changed

+9
-7
lines changed

source/mir/bignum/decimal.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,7 @@ struct Decimal(size_t maxSize64)
874874
auto decimal = Decimal!1(str);
875875
stringBuf buffer;
876876
buffer << decimal;
877-
assert(buffer.data == str, buffer.data);
877+
assert(buffer.data == str);
878878
}
879879

880880
/++

source/mir/bignum/fixed.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ struct UInt(size_t size)
173173
auto integer = UInt!256(str);
174174
stringBuf buffer;
175175
buffer << integer;
176-
assert(buffer.data == str, buffer.data);
176+
assert(buffer.data == str);
177177
}
178178

179179
///

source/mir/bignum/integer.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ struct BigInt(size_t maxSize64)
642642
auto integer = BigInt!4(str);
643643
stringBuf buffer;
644644
buffer << integer;
645-
assert(buffer.data == str, buffer.data);
645+
assert(buffer.data == str);
646646
}
647647
}
648648

source/mir/format.d

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,8 @@ unittest
769769

770770
void check(double num, string value)
771771
{
772-
assert(buffer.print(num, spec).data == value, buffer.data); buffer.reset;
772+
assert(buffer.print(num, spec).data == value);
773+
buffer.reset;
773774
}
774775

775776
check(-0.0, "-0.0");

source/mir/ndslice/slice.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1369,7 +1369,7 @@ public:
13691369
/++
13701370
Save primitive.
13711371
+/
1372-
auto save()() scope return inout @property
1372+
auto save()() inout @property
13731373
{
13741374
return this;
13751375
}

source/mir/series.d

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2205,7 +2205,8 @@ See_also $(LREF Series.opBinary) $(LREF makeUnionSeries)
22052205
auto unionSeries(IndexIterator, Iterator, size_t N, SliceKind kind, size_t C)(Series!(IndexIterator, Iterator, N, kind)[C] seriesTuple...)
22062206
if (C > 1)
22072207
{
2208-
return unionSeriesImplPrivate!false(seriesTuple);
2208+
import core.lifetime: move;
2209+
return unionSeriesImplPrivate!false(move(seriesTuple));
22092210
}
22102211

22112212
///
@@ -2411,7 +2412,7 @@ auto unionSeriesImpl(I, E,
24112412
}
24122413
}
24132414

2414-
private auto unionSeriesImplPrivate(bool rc, IndexIterator, Iterator, size_t N, SliceKind kind, size_t C, Allocator...)(ref Series!(IndexIterator, Iterator, N, kind)[C] seriesTuple, ref Allocator allocator)
2415+
private auto unionSeriesImplPrivate(bool rc, IndexIterator, Iterator, size_t N, SliceKind kind, size_t C, Allocator...)(Series!(IndexIterator, Iterator, N, kind)[C] seriesTuple, ref Allocator allocator)
24152416
if (C > 1 && Allocator.length <= 1)
24162417
{
24172418
import mir.algorithm.setops: unionLength;

0 commit comments

Comments
 (0)