Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit c26985b

Browse files
authored
fixed a missing description of the MSRV option for manual_repeat_n (rust-lang#14081)
I added `manual_repeat_n` lint before, which has the `MSRV` option. However, I forgot to add this lint to the lint configuration. changelog: none
2 parents 057f5b3 + 0b818aa commit c26985b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

book/src/lint_configuration.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,7 @@ The minimum rust version that the project supports. Defaults to the `rust-versio
750750
* [`manual_pattern_char_comparison`](https://rust-lang.github.io/rust-clippy/master/index.html#manual_pattern_char_comparison)
751751
* [`manual_range_contains`](https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains)
752752
* [`manual_rem_euclid`](https://rust-lang.github.io/rust-clippy/master/index.html#manual_rem_euclid)
753+
* [`manual_repeat_n`](https://rust-lang.github.io/rust-clippy/master/index.html#manual_repeat_n)
753754
* [`manual_retain`](https://rust-lang.github.io/rust-clippy/master/index.html#manual_retain)
754755
* [`manual_split_once`](https://rust-lang.github.io/rust-clippy/master/index.html#manual_split_once)
755756
* [`manual_str_repeat`](https://rust-lang.github.io/rust-clippy/master/index.html#manual_str_repeat)

clippy_config/src/conf.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -619,6 +619,7 @@ define_Conf! {
619619
manual_pattern_char_comparison,
620620
manual_range_contains,
621621
manual_rem_euclid,
622+
manual_repeat_n,
622623
manual_retain,
623624
manual_split_once,
624625
manual_str_repeat,

0 commit comments

Comments
 (0)