Make lint formulation more consistent #10631
Labels
A-documentation
Area: Adding or improving documentation
C-enhancement
Category: Enhancement of lints, like adding more cases or adding help messages
Description
When trying to figure out how I should formulate the documentation for
clear_with_drain
, I had a look at how other lints are formulated, and I found a few different ways which are pretty much equivalent.Here are the statistics I gathered:
These represent about 1/6 of the total number of lints, which is quite significant.
I propose to standardize the formulation, opting for the most frequent one, i.e. Checks for usage. Of course, I am open to picking a different one if a native English speaker (which I'm not) tells me that it is not the most idiomatic 🙂
Version
No response
Additional Labels
@rustbot label +C-enhancement +A-documentation
The text was updated successfully, but these errors were encountered: