Change trust_too_much message which was slightly ambiguous (#611)

Change trust_too_much message which was slightly ambiguous
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
This commit is contained in:
BBasile 2018-04-12 10:38:19 +02:00 committed by The Dlang Bot
parent b17f271b74
commit b03adf1dff
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ class TrustTooMuchCheck : BaseAnalyzer
private:
static immutable MESSAGE = "Trusting a whole scope is a bad idea, " ~
"`@trusted` should only be attached to a single function";
"`@trusted` should only be attached to the functions individually";
static immutable string KEY = "dscanner.trust_too_much";
bool checkAtAttribute = true;