From b47a79deb2326f41f2f9751f9f049fc8f71e1639 Mon Sep 17 00:00:00 2001 From: yamadapc Date: Sat, 12 Jul 2014 20:10:05 -0300 Subject: [PATCH] Fix style for template constraints. I'm simply trying to follow what I see in the wild; not sure about this either. --- source/colorize.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/colorize.d b/source/colorize.d index 23daa03..b607d2c 100644 --- a/source/colorize.d +++ b/source/colorize.d @@ -97,7 +97,7 @@ unittest } string colorHelper(T)(const string str, const T t=T.init) -if(is(T : fg) || is(T : bg) || is(T : mode)) + if(is(T : fg) || is(T : bg) || is(T : mode)) { return format("\033[%dm%s\033[0m", t, str); }