D-Programming-Language/phobos — pull request #1822 by GassaFM (2013-12-29 12:06:40+00:00)
Title: fix documentation for nextPermutation and nextEvenPermutation

The three examples in the documentation are wrong:
"while (nextPermutation(a)) { }"
should in fact be
"do { } while (nextPermutation(a));"
or we miss the very first permutation. This is true for nextEvenPermutation, too.