Skip to content

Commit 9b54aeb

Browse files
Apply suggestions
Co-authored-by: Samuel Tardieu <[email protected]>
1 parent 1650989 commit 9b54aeb

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
@@ -156,7 +156,7 @@ declare_clippy_lint! {
156156
/// # print!("{}", Foo::f(10));
157157
/// # }
158158
/// ```
159-
#[clippy::version = "1.88.0"]
159+
#[clippy::version = "1.89.0"]
160160
pub SELF_ONLY_USED_IN_RECURSION,
161161
pedantic,
162162
"self receiver only used to recursively call method can be removed"
@@ -443,7 +443,7 @@ impl<'tcx> LateLintPass<'tcx> for OnlyUsedInRecursion {
443443
},
444444
param.ident.span,
445445
if is_self {
446-
"self is only used in recursion"
446+
"`self` is only used in recursion"
447447
} else {
448448
"parameter is only used in recursion"
449449
},

0 commit comments

Comments
 (0)