From b99a1d5837df17c3fd0279d39bb2fc0e768fc670 Mon Sep 17 00:00:00 2001 From: blyxyas Date: Fri, 13 Jan 2023 13:06:42 +0100 Subject: [PATCH] Fix lint example --- clippy_lints/src/functions/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clippy_lints/src/functions/mod.rs b/clippy_lints/src/functions/mod.rs index e5c87950b6ab..ec62347b9379 100644 --- a/clippy_lints/src/functions/mod.rs +++ b/clippy_lints/src/functions/mod.rs @@ -343,7 +343,7 @@ declare_clippy_lint! { /// Use instead: /// ```rust /// trait MyTrait {} - /// fn foo(a: A) { + /// fn foo(a: T) { /// // [...] /// } /// ```