Merge pull request #141 from Herringway/infer-safe-buildmsg
let buildMsg automatically be inferred @safe merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
This commit is contained in:
commit
2f63fb6988
|
@ -229,7 +229,7 @@ final class Scanner
|
||||||
|
|
||||||
private:
|
private:
|
||||||
/// Build an error message in msgBuffer_ and return it as a string.
|
/// Build an error message in msgBuffer_ and return it as a string.
|
||||||
string buildMsg(S ...)(S args) @trusted
|
string buildMsg(S ...)(S args)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
return text(args);
|
return text(args);
|
||||||
|
|
Loading…
Reference in a new issue