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:
The Dlang Bot 2018-05-31 09:53:27 +02:00 committed by GitHub
commit 2f63fb6988
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);