diff options
| author | Jaeyong Sung <jaeyong0201@gmail.com> | 2022-02-13 04:53:30 +0900 |
|---|---|---|
| committer | Jaeyong Sung <jaeyong0201@gmail.com> | 2022-02-13 04:53:30 +0900 |
| commit | 2b3e7faf8de5a97ea73f14e31dff218de22b6389 (patch) | |
| tree | 3569feee545fd7202a43621cd2d338c0220c0b3c | |
| parent | 1a69b17c8c5ea3de893d8757fcc9cc46bfdf0f4b (diff) | |
| download | rust-2b3e7faf8de5a97ea73f14e31dff218de22b6389.tar.gz rust-2b3e7faf8de5a97ea73f14e31dff218de22b6389.zip | |
add description
| -rw-r--r-- | clippy_lints/src/only_used_in_recursion.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clippy_lints/src/only_used_in_recursion.rs b/clippy_lints/src/only_used_in_recursion.rs index d89a86c9ad1..b941a2647cc 100644 --- a/clippy_lints/src/only_used_in_recursion.rs +++ b/clippy_lints/src/only_used_in_recursion.rs @@ -29,7 +29,7 @@ declare_clippy_lint! { /// ### Why is this bad? /// The could contain a useless calculation and can make function simpler. /// - /// ### Known Issues + /// ### Known problems /// It could not catch the variable that has no side effects but only used in recursion. /// /// ### Example @@ -61,7 +61,7 @@ declare_clippy_lint! { #[clippy::version = "1.60.0"] pub ONLY_USED_IN_RECURSION, complexity, - "default lint description" + "arguments that is only used in recursion can be removed" } declare_lint_pass!(OnlyUsedInRecursion => [ONLY_USED_IN_RECURSION]); |
