Skip to content

Commit 2b3e7fa

Browse files
committed
add description
1 parent 1a69b17 commit 2b3e7fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_lints/src/only_used_in_recursion.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ declare_clippy_lint! {
2929
/// ### Why is this bad?
3030
/// The could contain a useless calculation and can make function simpler.
3131
///
32-
/// ### Known Issues
32+
/// ### Known problems
3333
/// It could not catch the variable that has no side effects but only used in recursion.
3434
///
3535
/// ### Example
@@ -61,7 +61,7 @@ declare_clippy_lint! {
6161
#[clippy::version = "1.60.0"]
6262
pub ONLY_USED_IN_RECURSION,
6363
complexity,
64-
"default lint description"
64+
"arguments that is only used in recursion can be removed"
6565
}
6666
declare_lint_pass!(OnlyUsedInRecursion => [ONLY_USED_IN_RECURSION]);
6767

0 commit comments

Comments
 (0)