let buildMsg automatically be inferred @safe

This commit is contained in:
Cameron Ross 2018-04-29 18:50:32 -03:00
parent 45d2d61031
commit fd85bca437
No known key found for this signature in database
GPG key ID: 777897D98DC91C54

View file

@ -229,7 +229,7 @@ final class Scanner
private:
/// Build an error message in msgBuffer_ and return it as a string.
string buildMsg(S ...)(S args) @trusted
string buildMsg(S ...)(S args)
{
try {
return text(args);