Skip to content

Commit

Permalink
Fix lint example
Browse files Browse the repository at this point in the history
  • Loading branch information
blyxyas committed Jan 13, 2023
1 parent 8d3070b commit b99a1d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/functions/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ declare_clippy_lint! {
/// Use instead:
/// ```rust
/// trait MyTrait {}
/// fn foo<T: A>(a: A) {
/// fn foo<T: MyTrait>(a: T) {
/// // [...]
/// }
/// ```
Expand Down

0 comments on commit b99a1d5

Please sign in to comment.