diff options
| author | lapla-cogito <me@lapla.dev> | 2025-01-27 04:54:40 +0900 |
|---|---|---|
| committer | lapla-cogito <me@lapla.dev> | 2025-01-27 04:54:40 +0900 |
| commit | 0b818aa6731abff6878582130b2733617b2587d5 (patch) | |
| tree | b30419165a416f72a39e86925a3f85760e291a14 | |
| parent | 913592373d40ec6c67774fcf32143bc548b4b6ac (diff) | |
| download | rust-0b818aa6731abff6878582130b2733617b2587d5.tar.gz rust-0b818aa6731abff6878582130b2733617b2587d5.zip | |
fixed a missing description of the MSRV option for `manual_repeat_n`
| -rw-r--r-- | book/src/lint_configuration.md | 1 | ||||
| -rw-r--r-- | clippy_config/src/conf.rs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/book/src/lint_configuration.md b/book/src/lint_configuration.md index 999df0efaac..b8f9fff9c61 100644 --- a/book/src/lint_configuration.md +++ b/book/src/lint_configuration.md @@ -750,6 +750,7 @@ The minimum rust version that the project supports. Defaults to the `rust-versio * [`manual_pattern_char_comparison`](https://rust-lang.github.io/rust-clippy/master/index.html#manual_pattern_char_comparison) * [`manual_range_contains`](https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains) * [`manual_rem_euclid`](https://rust-lang.github.io/rust-clippy/master/index.html#manual_rem_euclid) +* [`manual_repeat_n`](https://rust-lang.github.io/rust-clippy/master/index.html#manual_repeat_n) * [`manual_retain`](https://rust-lang.github.io/rust-clippy/master/index.html#manual_retain) * [`manual_split_once`](https://rust-lang.github.io/rust-clippy/master/index.html#manual_split_once) * [`manual_str_repeat`](https://rust-lang.github.io/rust-clippy/master/index.html#manual_str_repeat) diff --git a/clippy_config/src/conf.rs b/clippy_config/src/conf.rs index 4b0fcbfc3bc..552141476f3 100644 --- a/clippy_config/src/conf.rs +++ b/clippy_config/src/conf.rs @@ -619,6 +619,7 @@ define_Conf! { manual_pattern_char_comparison, manual_range_contains, manual_rem_euclid, + manual_repeat_n, manual_retain, manual_split_once, manual_str_repeat, |
