Skip to content

Commit b99a1d5

Browse files
committed
Fix lint example
1 parent 8d3070b commit b99a1d5

File tree

1 file changed

+1
-1
lines changed
  • clippy_lints/src/functions

1 file changed

+1
-1
lines changed

clippy_lints/src/functions/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ declare_clippy_lint! {
343343
/// Use instead:
344344
/// ```rust
345345
/// trait MyTrait {}
346-
/// fn foo<T: A>(a: A) {
346+
/// fn foo<T: MyTrait>(a: T) {
347347
/// // [...]
348348
/// }
349349
/// ```

0 commit comments

Comments
 (0)