mirror of
https://github.com/yamadapc/d-colorize
synced 2024-11-14 21:14:00 +01:00
Fix style for template constraints.
I'm simply trying to follow what I see in the wild; not sure about this either.
This commit is contained in:
parent
342da0b563
commit
b47a79deb2
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue