mirror of
https://github.com/dlang/phobos.git
synced 2025-04-28 22:21:09 +03:00
Style fix: enforce allman style
This commit is contained in:
parent
1ca4d31e21
commit
6f1690f6b1
2 changed files with 6 additions and 3 deletions
|
@ -1506,7 +1506,8 @@ private void shortSort(alias less, Range)(Range r)
|
|||
immutable maxJ = r.length - 2;
|
||||
for (size_t i = r.length - 6; ; --i)
|
||||
{
|
||||
static if (is(typeof(() nothrow {
|
||||
static if (is(typeof(() nothrow
|
||||
{
|
||||
auto t = r[0]; if (pred(t, r[0])) r[0] = r[0];
|
||||
}))) // Can we afford to temporarily invalidate the array?
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue