mirror of
https://github.com/dlang/phobos.git
synced 2025-04-27 21:51:40 +03:00
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:
commit
81e921bcd9
1 changed files with 2 additions and 2 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue