Avoid period in lint message according to convention
This commit is contained in:
parent
b2c2266792
commit
9fe0ac36a5
3 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue