@@ -45,7 +45,7 @@ at all when not running Clippy.
45
45
46
46
## Stability guarantees
47
47
48
- Clippy will have the same idea of of lint stability as rustc; essentially we do not guarantee stability under #[ deny(lintname)] .
48
+ Clippy will have the same idea of lint stability as rustc; essentially we do not guarantee stability under ` #[deny(lintname)] ` .
49
49
This is not a problem since deny only affects the current crate (dependencies have their lints capped)
50
50
so at most you’ll be forced to slap on an ` #[allow()] ` for your _ own_ crate following a Rust upgrade.
51
51
@@ -101,7 +101,7 @@ so that people can opt in to the complexity lints without having to opt in to Cl
101
101
## Compiler uplift
102
102
103
103
The compiler has historically had a "no new lints" policy, partly with the desire that lints would
104
- incubate outside of Clippy. This feels like a good time to look into uplifting these lints.
104
+ incubate outside of the compiler (so usually in Clippy) . This feels like a good time to look into uplifting these lints.
105
105
106
106
This RFC does not _ yet_ propose lints to be uplifted, but the intention is that the RFC
107
107
discussion will bring up lints that the community feels _ should_ be uplifted and we can list them here.
@@ -162,7 +162,7 @@ For the other categories (these are allow by default):
162
162
- Similar rules for "nursery" except their reason for being allow by default is lack of maturity (i.e. the lint is buggy or still needs some thought)
163
163
- "restriction" lints follow all the rules for semantic changes, but do not bother with the rules
164
164
for the lint being useful to most rust programmers. A restriction lint must still be such that you have a
165
- good reason to enable it &mdash ; "I dislike such code" is insufficient &mdash but will likely be a lint most programmers
165
+ good reason to enable it &mdash ; "I dislike such code" is insufficient &mdash ; but will likely be a lint most programmers
166
166
wish to keep off by default for most of their code. The goal of restriction lints is to provide tools with which you can supplement
167
167
the language checks in very specific cases where you need it, e.g. forbidding panics from a certain area of code.
168
168
- "cargo" lints follow the same rules as pedantic lints (we only have one of them right now, so we may be experimenting with this in the future)
0 commit comments