mirror of
https://github.com/dlang/phobos.git
synced 2025-04-29 22:50:38 +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 assert(hasSwappableElements!Range || hasAssignableElements!Range,
|
||||
"When using SwapStragety.unstable, the passed Range '"
|
||||
"When using SwapStrategy.unstable, the passed Range '"
|
||||
~ Range.stringof ~ "' must"
|
||||
~ " either fulfill hasSwappableElements, or"
|
||||
~ " hasAssignableElements, both were not the case");
|
||||
}
|
||||
else
|
||||
{
|
||||
static assert(hasAssignableElements!Range, "When using a SwapStragety"
|
||||
static assert(hasAssignableElements!Range, "When using a SwapStrategy"
|
||||
~ " != unstable, the"
|
||||
~ " passed Range '" ~ Range.stringof ~ "' must fulfill"
|
||||
~ " hasAssignableElements, which it did not");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue