mirror of
https://github.com/dlang/phobos.git
synced 2025-04-29 06:30:28 +03:00
Replaced calls to std.ctype.isspace with std.ctype.isWhite.
In a few places, I replaced it with std.uni.isUniWhite, but for the most part, I replaced it with std.ctype.isWhite.
This commit is contained in:
parent
0e1afe82cb
commit
76e1cfd2e9
8 changed files with 21 additions and 20 deletions
|
@ -316,7 +316,7 @@ module std.algorithm;
|
|||
import std.c.string;
|
||||
import std.array, std.container, std.conv, std.ctype, std.exception,
|
||||
std.functional, std.math, std.metastrings, std.range, std.string,
|
||||
std.traits, std.typecons, std.typetuple, std.stdio;
|
||||
std.traits, std.typecons, std.typetuple, std.stdio, std.uni;
|
||||
|
||||
version(unittest)
|
||||
{
|
||||
|
@ -2145,7 +2145,7 @@ unittest
|
|||
auto splitter(Range)(Range input)
|
||||
if (isSomeString!Range)
|
||||
{
|
||||
return splitter!isspace(input);
|
||||
return splitter!(std.uni.isUniWhite)(input);
|
||||
}
|
||||
|
||||
unittest
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue