Skip to content

Commit

Permalink
Auto merge of #6386 - rust-lang:flip1995-patch-1, r=ebroto
Browse files Browse the repository at this point in the history
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
  • Loading branch information
bors committed Nov 27, 2020
2 parents 7a73990 + 6eb2c27 commit f9b8a59
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down Expand Up @@ -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.

Expand Down

0 comments on commit f9b8a59

Please sign in to comment.