Merge pull request #6120 from wilzbach/fix-typo

Fix typo in the example title of std.algorithm.substitute
merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com>
This commit is contained in:
The Dlang Bot 2018-02-04 17:52:33 +01:00 committed by GitHub
commit 9b03a10e5e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;