Merge pull request #5691 from dlang/MetaLang-patch-1

Workaround for DDOX bug in the official docs
merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com>
This commit is contained in:
The Dlang Bot 2017-08-15 23:26:22 +02:00 committed by GitHub
commit 81e921bcd9

View file

@ -2701,8 +2701,8 @@ if ((hasSlicing!Range && hasLength!Range && isSomeChar!(ElementType!Range) ||
string s = "Hello\nmy\rname\nis";
/* notice the call to `array` to turn the lazy range created by
lineSplitter comparable to the `string[]` created by splitLines.
/* notice the call to 'array' to turn the lazy range created by
lineSplitter comparable to the string[] created by splitLines.
*/
assert(lineSplitter(s).array == splitLines(s));
}