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
182182```
183183
184184This 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:
186186``` terminal
187187cargo clippy -- -W clippy::pedantic
188188```
@@ -214,6 +214,9 @@ fn main() {
214214}
215215```
216216
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+
217220Note: ` custom_inner_attributes ` is an unstable feature so it has to be enabled explicitly.
218221
219222Lints 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