Skip to content

Commit c6a8616

Browse files
authored
add manual_option_as_slice MSRV to the lint documentation (#14171)
`manual_option_as_slice` takes MSRV into account, but this is not mentioned in the lint documentation. changelog: none
2 parents b5ea249 + 16781bf commit c6a8616

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

book/src/lint_configuration.md

+1
Original file line numberDiff line numberDiff line change
@@ -748,6 +748,7 @@ The minimum rust version that the project supports. Defaults to the `rust-versio
748748
* [`manual_is_ascii_check`](https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_ascii_check)
749749
* [`manual_let_else`](https://rust-lang.github.io/rust-clippy/master/index.html#manual_let_else)
750750
* [`manual_non_exhaustive`](https://rust-lang.github.io/rust-clippy/master/index.html#manual_non_exhaustive)
751+
* [`manual_option_as_slice`](https://rust-lang.github.io/rust-clippy/master/index.html#manual_option_as_slice)
751752
* [`manual_pattern_char_comparison`](https://rust-lang.github.io/rust-clippy/master/index.html#manual_pattern_char_comparison)
752753
* [`manual_range_contains`](https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains)
753754
* [`manual_rem_euclid`](https://rust-lang.github.io/rust-clippy/master/index.html#manual_rem_euclid)

clippy_config/src/conf.rs

+1
Original file line numberDiff line numberDiff line change
@@ -617,6 +617,7 @@ define_Conf! {
617617
manual_is_ascii_check,
618618
manual_let_else,
619619
manual_non_exhaustive,
620+
manual_option_as_slice,
620621
manual_pattern_char_comparison,
621622
manual_range_contains,
622623
manual_rem_euclid,

0 commit comments

Comments
 (0)