mirror of
https://github.com/dlang/phobos.git
synced 2025-05-04 00:54:05 +03:00
Follow up review on PR 7441
Steven identified a couple mistakes in the massive round of linkification. Fixing them here.
This commit is contained in:
parent
ffca395ed2
commit
62c72ca6ff
4 changed files with 4 additions and 4 deletions
|
@ -3956,7 +3956,7 @@ The number of seeds must be correspondingly increased.
|
||||||
|
|
||||||
@safe unittest
|
@safe unittest
|
||||||
{
|
{
|
||||||
// https://issues.dlang.org/show_bug.cgi?id= 10408
|
// https://issues.dlang.org/show_bug.cgi?id=10408
|
||||||
// Two-function reduce of a const array.
|
// Two-function reduce of a const array.
|
||||||
import std.algorithm.comparison : max, min;
|
import std.algorithm.comparison : max, min;
|
||||||
import std.typecons : tuple, Tuple;
|
import std.typecons : tuple, Tuple;
|
||||||
|
|
|
@ -2186,7 +2186,7 @@ if ( is(typeof(binaryFun!less((ElementType!Stuff).init, (ElementType!Stuff).init
|
||||||
assert(rt1.upperBound(2).equal([3, 4, 5]));
|
assert(rt1.upperBound(2).equal([3, 4, 5]));
|
||||||
}
|
}
|
||||||
|
|
||||||
// =https://issues.dlang.org/show_bug.cgi?id=issue 15941
|
// https://issues.dlang.org/show_bug.cgi?id=15941
|
||||||
@safe pure unittest
|
@safe pure unittest
|
||||||
{
|
{
|
||||||
class C {}
|
class C {}
|
||||||
|
|
|
@ -5495,7 +5495,7 @@ version (StdUnittest)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// https://issues.dlang.org/show_bug.cgi?id=9959
|
// https://issues.dlang.org/show_bug.cgi?id=9559
|
||||||
@safe unittest
|
@safe unittest
|
||||||
{
|
{
|
||||||
import std.algorithm.iteration : map;
|
import std.algorithm.iteration : map;
|
||||||
|
|
|
@ -84,7 +84,7 @@ if (isSomeChar!To && (isInputRange!From || isSomeString!From) &&
|
||||||
|
|
||||||
// Note: res._ptr can't point to res._buff as structs are movable.
|
// Note: res._ptr can't point to res._buff as structs are movable.
|
||||||
|
|
||||||
// https://issues.dlang.org/show_bug.cgi?id=1498
|
// https://issues.dlang.org/show_bug.cgi?id=14980
|
||||||
static if (isSomeString!From)
|
static if (isSomeString!From)
|
||||||
{
|
{
|
||||||
if (str is null)
|
if (str is null)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue