Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 6eb2c27

Browse files
committed
Note that it is possible to omit the patch version
1 parent 3bcc75d commit 6eb2c27

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ cargo clippy -- -W clippy::lint_name
182182
```
183183

184184
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:
186186
```terminal
187187
cargo 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+
217220
Note: `custom_inner_attributes` is an unstable feature so it has to be enabled explicitly.
218221

219222
Lints that recognize this configuration option can be found [here](https://rust-lang.github.io/rust-clippy/master/index.html#msrv)

0 commit comments

Comments
 (0)