about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-11-27 07:35:25 +0000
committerbors <bors@rust-lang.org>2020-11-27 07:35:25 +0000
commitf9b8a59615eaed84c6ac1e2bca080ffebd1fd35c (patch)
tree5b6f96159694dded61c272fe6b1f5fe80c31bece
parent7a7399076ac7494f27a1fc4ffd377da33eb80484 (diff)
parent6eb2c27bcc8760949280f266a52dcc6bb3ca6955 (diff)
downloadrust-f9b8a59615eaed84c6ac1e2bca080ffebd1fd35c.tar.gz
rust-f9b8a59615eaed84c6ac1e2bca080ffebd1fd35c.zip
Auto merge of #6386 - rust-lang:flip1995-patch-1, r=ebroto
Remove mention of possibility to specify the MSRV with a tilde/caret

As `@taiki-e` explained in https://github.com/rust-lang/rust-clippy/pull/6379#discussion_r530743279, mentioning this might be problematic.

changelog: none
-rw-r--r--README.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/README.md b/README.md
index 35683e87133..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,7 +214,8 @@ fn main() {
 }
 ```
 
-Tilde/Caret version requirements (like `^1.0` or `~1.2`) can be specified as well.
+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.