Running Clippy is a tradeoff:
When used for suggestions, especially as a beginner, it is of course providing value to the person using it if they decide to do so (they can learn of better patterns).
When used regularly or automatically one has to deal with suggestions that do not make sense in the project or to the person. Then one can either disable that kind of suggestion globally via clippy's config, or add allow markers to the code; the former is best if the suggestion rarely makes sense, the latter if one does not want to miss out on the suggestions.
The tradeoff is that dealing with adding allow markers costs precious development time, and needs to be held against the benefit.
OTOH it's better to have Clippy handle the kinds of things it can handle than humans wasting time on them.
So, let's see what Clippy brings and let's silence it down enough to not waste our time. And once done, let's add its use to our workflow (probably as make targets clippy_check and clippy_apply, then perhaps add clippy_check to the CI).
Running Clippy is a tradeoff:
When used for suggestions, especially as a beginner, it is of course providing value to the person using it if they decide to do so (they can learn of better patterns).
When used regularly or automatically one has to deal with suggestions that do not make sense in the project or to the person. Then one can either disable that kind of suggestion globally via clippy's config, or add allow markers to the code; the former is best if the suggestion rarely makes sense, the latter if one does not want to miss out on the suggestions.
The tradeoff is that dealing with adding allow markers costs precious development time, and needs to be held against the benefit.
OTOH it's better to have Clippy handle the kinds of things it can handle than humans wasting time on them.
So, let's see what Clippy brings and let's silence it down enough to not waste our time. And once done, let's add its use to our workflow (probably as make targets
clippy_checkandclippy_apply, then perhaps addclippy_checkto the CI).