Note that it is possible to omit the patch version

This commit is contained in:
flip1995 2020-11-26 10:15:00 +01:00
parent 3bcc75d446
commit 6eb2c27bcc
No known key found for this signature in database
GPG Key ID: 1CA0DF2AF59D68A5

View File

@ -214,6 +214,9 @@ fn main() {
}
```
You can also omit the patch version when specifying the MSRV, so `msrv = 1.30`
is equivalent to `msrv = 1.30.0`.
Note: `custom_inner_attributes` is an unstable feature so it has to be enabled explicitly.
Lints that recognize this configuration option can be found [here](https://rust-lang.github.io/rust-clippy/master/index.html#msrv)