mirror of
https://github.com/dlang/phobos.git
synced 2025-04-29 14:40:30 +03:00
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:
commit
9b03a10e5e
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue