mirror of
https://github.com/dlang/phobos.git
synced 2025-05-08 03:56:54 +03:00
Change manifest constant types from const(Char)[] to immutable(Char)[].
This commit is contained in:
parent
e7753a4789
commit
d76b0e96dd
1 changed files with 4 additions and 4 deletions
|
@ -591,25 +591,25 @@ struct FormatSpec(Char)
|
||||||
This string is inserted before each sequence (e.g. array)
|
This string is inserted before each sequence (e.g. array)
|
||||||
formatted (by default $(D "[")).
|
formatted (by default $(D "[")).
|
||||||
*/
|
*/
|
||||||
enum const(Char)[] seqBefore = "[";
|
enum immutable(Char)[] seqBefore = "[";
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This string is inserted after each sequence formatted (by
|
This string is inserted after each sequence formatted (by
|
||||||
default $(D "]")).
|
default $(D "]")).
|
||||||
*/
|
*/
|
||||||
enum const(Char)[] seqAfter = "]";
|
enum immutable(Char)[] seqAfter = "]";
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This string is inserted after each element keys of a sequence (by
|
This string is inserted after each element keys of a sequence (by
|
||||||
default $(D ":")).
|
default $(D ":")).
|
||||||
*/
|
*/
|
||||||
enum const(Char)[] keySeparator = ":";
|
enum immutable(Char)[] keySeparator = ":";
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This string is inserted in between elements of a sequence (by
|
This string is inserted in between elements of a sequence (by
|
||||||
default $(D ", ")).
|
default $(D ", ")).
|
||||||
*/
|
*/
|
||||||
enum const(Char)[] seqSeparator = ", ";
|
enum immutable(Char)[] seqSeparator = ", ";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Given a string format specification fmt, parses a format
|
Given a string format specification fmt, parses a format
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue