Skip to content

Commit

Permalink
Fix large_types_passed_by_value example
Browse files Browse the repository at this point in the history
  • Loading branch information
cauebs committed Oct 19, 2020
1 parent ae7c2cb commit 082c804
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions clippy_lints/src/pass_by_ref_or_value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,7 @@ declare_clippy_lint! {
///
/// // Bad
/// fn foo(v: TooLarge) {}
/// ```
///
/// ```rust
/// // Better
/// fn foo(v: &TooLarge) {}
/// ```
Expand Down

0 comments on commit 082c804

Please sign in to comment.