mirror of
https://github.com/dlang/phobos.git
synced 2025-04-28 14:10:30 +03:00
Fix style (space between a .. b) in std/json.d
This commit is contained in:
parent
8f85aaa0fc
commit
60130d510f
1 changed files with 1 additions and 1 deletions
|
@ -1176,7 +1176,7 @@ string toJSON(const ref JSONValue root, in bool pretty = false, in JSONOptions o
|
|||
// of UTF-16 surrogate characters, as per RFC 4627.
|
||||
wchar[2] wchars; // 1 or 2 UTF-16 code units
|
||||
size_t wNum = encode(wchars, c); // number of UTF-16 code units
|
||||
foreach (wc; wchars[0..wNum])
|
||||
foreach (wc; wchars[0 .. wNum])
|
||||
{
|
||||
json.put("\\u");
|
||||
foreach_reverse (i; 0 .. 4)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue