mirror of https://github.com/adamdruppe/arsd.git
Clarify `immutable(char)[]` string type
This commit is contained in:
parent
2aa7a7573c
commit
b9ea9562fc
2
ini.d
2
ini.d
|
|
@ -137,7 +137,7 @@ module arsd.ini;
|
|||
/++
|
||||
Determines whether a type `T` is a string type compatible with this library.
|
||||
+/
|
||||
enum isCompatibleString(T) = (is(T == string) || is(T == const(char)[]) || is(T == char[]));
|
||||
enum isCompatibleString(T) = (is(T == immutable(char)[]) || is(T == const(char)[]) || is(T == char[]));
|
||||
|
||||
//dfmt off
|
||||
/++
|
||||
|
|
|
|||
Loading…
Reference in New Issue