mirror of
https://github.com/dlang/phobos.git
synced 2025-05-04 00:54:05 +03:00
algorithm/sorting: Fix typo introduced in PR #8678
Typo specifically introduced in:
- baaa1117de
Signed-off-by: Ikey Doherty <ikey@serpentos.com>
This commit is contained in:
parent
ec947ebc0f
commit
ac8318c5ad
1 changed files with 2 additions and 2 deletions
|
@ -1934,14 +1934,14 @@ sort(alias less = "a < b", SwapStrategy ss = SwapStrategy.unstable, Range)
|
||||||
static if (ss == SwapStrategy.unstable)
|
static if (ss == SwapStrategy.unstable)
|
||||||
{
|
{
|
||||||
static assert(hasSwappableElements!Range || hasAssignableElements!Range,
|
static assert(hasSwappableElements!Range || hasAssignableElements!Range,
|
||||||
"When using SwapStragety.unstable, the passed Range '"
|
"When using SwapStrategy.unstable, the passed Range '"
|
||||||
~ Range.stringof ~ "' must"
|
~ Range.stringof ~ "' must"
|
||||||
~ " either fulfill hasSwappableElements, or"
|
~ " either fulfill hasSwappableElements, or"
|
||||||
~ " hasAssignableElements, both were not the case");
|
~ " hasAssignableElements, both were not the case");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
static assert(hasAssignableElements!Range, "When using a SwapStragety"
|
static assert(hasAssignableElements!Range, "When using a SwapStrategy"
|
||||||
~ " != unstable, the"
|
~ " != unstable, the"
|
||||||
~ " passed Range '" ~ Range.stringof ~ "' must fulfill"
|
~ " passed Range '" ~ Range.stringof ~ "' must fulfill"
|
||||||
~ " hasAssignableElements, which it did not");
|
~ " hasAssignableElements, which it did not");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue