File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ cargo clippy -- -W clippy::lint_name
182
182
```
183
183
184
184
This also works with lint groups. For example you
185
- can run Clippy with warnings for all lints enabled:
185
+ can run Clippy with warnings for all lints enabled:
186
186
``` terminal
187
187
cargo clippy -- -W clippy::pedantic
188
188
```
@@ -214,6 +214,9 @@ fn main() {
214
214
}
215
215
```
216
216
217
+ You can also omit the patch version when specifying the MSRV, so ` msrv = 1.30 `
218
+ is equivalent to ` msrv = 1.30.0 ` .
219
+
217
220
Note: ` custom_inner_attributes ` is an unstable feature so it has to be enabled explicitly.
218
221
219
222
Lints that recognize this configuration option can be found [ here] ( https://rust-lang.github.io/rust-clippy/master/index.html#msrv )
You can’t perform that action at this time.
0 commit comments