about summary refs log tree commit diff
diff options
context:
space:
mode:
authorlapla-cogito <me@lapla.dev>2025-01-27 04:54:40 +0900
committerlapla-cogito <me@lapla.dev>2025-01-27 04:54:40 +0900
commit0b818aa6731abff6878582130b2733617b2587d5 (patch)
treeb30419165a416f72a39e86925a3f85760e291a14
parent913592373d40ec6c67774fcf32143bc548b4b6ac (diff)
downloadrust-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.md1
-rw-r--r--clippy_config/src/conf.rs1
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,