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 637e92d commit 3b10805Copy full SHA for 3b10805
clippy_lints/src/redundant_static_lifetime.rs
@@ -33,7 +33,7 @@ declare_lint_pass!(RedundantStaticLifetime => [REDUNDANT_STATIC_LIFETIME]);
33
34
impl RedundantStaticLifetime {
35
// Recursively visit types
36
- pub fn visit_type(&mut self, ty: &Ty, cx: &EarlyContext<'_>, reason: &str) {
+ fn visit_type(&mut self, ty: &Ty, cx: &EarlyContext<'_>, reason: &str) {
37
match ty.node {
38
// Be careful of nested structures (arrays and tuples)
39
TyKind::Array(ref ty, _) => {
0 commit comments