Fix typo in the example title of std.algorithm.substitute

This commit is contained in:
Sebastian Wilzbach 2018-02-03 21:03:20 +01:00
parent 8d93656917
commit 32a6abd709

View file

@ -5058,7 +5058,7 @@ if (isInputRange!R && Substs.length >= 2 && !is(CommonType!(Substs) == void))
assert([1, 2, 3].substitute(1, 0.1).retro.equal([3, 2, 0.1]));
}
/// Use faster compile-time overload
/// Use the faster compile-time overload
@safe pure unittest
{
import std.algorithm.comparison : equal;
@ -5093,7 +5093,7 @@ if (isInputRange!R && Substs.length >= 2 && !is(CommonType!(Substs) == void))
assert(equal(z, "41"));
}
// Test the first example with Compile-Time overloads
// Test the first example with compile-time overloads
@safe pure unittest
{
import std.algorithm.comparison : equal;