From b9ea9562fc8c0b012592acc74a8da5bc327397f9 Mon Sep 17 00:00:00 2001 From: Elias Batek Date: Sat, 15 Feb 2025 21:31:57 +0100 Subject: [PATCH] Clarify `immutable(char)[]` string type --- ini.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ini.d b/ini.d index 0e24019..ddb0884 100644 --- a/ini.d +++ b/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 /++