From b03adf1dff12115840309d4f82eda69209ec486a Mon Sep 17 00:00:00 2001 From: BBasile Date: Thu, 12 Apr 2018 10:38:19 +0200 Subject: [PATCH] Change trust_too_much message which was slightly ambiguous (#611) Change trust_too_much message which was slightly ambiguous merged-on-behalf-of: BBasile --- src/dscanner/analysis/trust_too_much.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dscanner/analysis/trust_too_much.d b/src/dscanner/analysis/trust_too_much.d index 67ce8da..7e469dd 100644 --- a/src/dscanner/analysis/trust_too_much.d +++ b/src/dscanner/analysis/trust_too_much.d @@ -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;