Skip to content

Commit f9b8a59

Browse files
committed
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 #6379 (comment), mentioning this might be problematic. changelog: none
2 parents 7a73990 + 6eb2c27 commit f9b8a59

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

+3-2
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,7 +214,8 @@ fn main() {
214214
}
215215
```
216216

217-
Tilde/Caret version requirements (like `^1.0` or `~1.2`) can be specified as well.
217+
You can also omit the patch version when specifying the MSRV, so `msrv = 1.30`
218+
is equivalent to `msrv = 1.30.0`.
218219

219220
Note: `custom_inner_attributes` is an unstable feature so it has to be enabled explicitly.
220221

0 commit comments

Comments
 (0)