Clarify `immutable(char)[]` string type

This commit is contained in:
Elias Batek 2025-02-15 21:31:57 +01:00
parent 2aa7a7573c
commit b9ea9562fc
1 changed files with 1 additions and 1 deletions

2
ini.d
View File

@ -137,7 +137,7 @@ module arsd.ini;
/++ /++
Determines whether a type `T` is a string type compatible with this library. 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 //dfmt off
/++ /++