Avoid period in lint message according to convention

This commit is contained in:
Takayuki Nakata 2020-08-24 10:11:53 +09:00
parent b2c2266792
commit 9fe0ac36a5
3 changed files with 4 additions and 4 deletions

View file

@ -77,7 +77,7 @@ impl EarlyLintPass for RedundantClosureCall {
cx,
REDUNDANT_CLOSURE_CALL,
expr.span,
"try not to call a closure in the expression where it is declared.",
"try not to call a closure in the expression where it is declared",
|diag| {
if decl.inputs.is_empty() {
let mut app = Applicability::MachineApplicable;