We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1650989 commit 9b54aebCopy full SHA for 9b54aeb
clippy_lints/src/only_used_in_recursion.rs
@@ -156,7 +156,7 @@ declare_clippy_lint! {
156
/// # print!("{}", Foo::f(10));
157
/// # }
158
/// ```
159
- #[clippy::version = "1.88.0"]
+ #[clippy::version = "1.89.0"]
160
pub SELF_ONLY_USED_IN_RECURSION,
161
pedantic,
162
"self receiver only used to recursively call method can be removed"
@@ -443,7 +443,7 @@ impl<'tcx> LateLintPass<'tcx> for OnlyUsedInRecursion {
443
},
444
param.ident.span,
445
if is_self {
446
- "self is only used in recursion"
+ "`self` is only used in recursion"
447
} else {
448
"parameter is only used in recursion"
449
0 commit comments