Skip to content

Commit 082c804

Browse files
committed
Fix large_types_passed_by_value example
1 parent ae7c2cb commit 082c804

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

clippy_lints/src/pass_by_ref_or_value.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,7 @@ declare_clippy_lint! {
7272
///
7373
/// // Bad
7474
/// fn foo(v: TooLarge) {}
75-
/// ```
7675
///
77-
/// ```rust
7876
/// // Better
7977
/// fn foo(v: &TooLarge) {}
8078
/// ```

0 commit comments

Comments
 (0)