diff options
| author | flip1995 <philipp.krones@embecosm.com> | 2020-11-26 10:15:00 +0100 |
|---|---|---|
| committer | flip1995 <philipp.krones@embecosm.com> | 2020-11-26 10:15:00 +0100 |
| commit | 6eb2c27bcc8760949280f266a52dcc6bb3ca6955 (patch) | |
| tree | d08d7ef20c7c836eb8473b5b111b1145ba1baf0a | |
| parent | 3bcc75d4462f11ee31260aa45b74a144b83e575f (diff) | |
| download | rust-6eb2c27bcc8760949280f266a52dcc6bb3ca6955.tar.gz rust-6eb2c27bcc8760949280f266a52dcc6bb3ca6955.zip | |
Note that it is possible to omit the patch version
| -rw-r--r-- | README.md | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/README.md b/README.md index 3d7ad38ea6c..fddf0614a0b 100644 --- a/README.md +++ b/README.md @@ -182,7 +182,7 @@ cargo clippy -- -W clippy::lint_name ``` This also works with lint groups. For example you -can run Clippy with warnings for all lints enabled: +can run Clippy with warnings for all lints enabled: ```terminal cargo clippy -- -W clippy::pedantic ``` @@ -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) |
