FN needless_return: "return" at end of void-function #4181
Labels
C-enhancement
Category: Enhancement of lints, like adding more cases or adding help messages
L-suggestion
Lint: Improving, adding or fixing lint suggestions
If we have a function that does not return a type and has
return
as last statement, we could suggest that that return could be omitted:=>
The text was updated successfully, but these errors were encountered: