Add an Option<Span> argument to span_lint_and_help.
This commit is contained in:
@@ -105,6 +105,7 @@ impl CognitiveComplexity {
|
||||
rust_cc,
|
||||
self.limit.limit()
|
||||
),
|
||||
None,
|
||||
"you could split it up into multiple smaller functions",
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user