Skip to content

Commit 8e5c5a6

Browse files
committed
Auto merge of #6554 - sozysozbot:master, r=flip1995
Fix typo: `which which can be` -> `which can be` Fixed a typo in the explanation of https://rust-lang.github.io/rust-clippy/master/index.html#large_types_passed_by_value : `which which can be` -> `which can be` changelog: none
2 parents efccfe8 + 8a45ffa commit 8e5c5a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/pass_by_ref_or_value.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ declare_clippy_lint! {
6363
///
6464
/// **Why is this bad?** Arguments passed by value might result in an unnecessary
6565
/// shallow copy, taking up more space in the stack and requiring a call to
66-
/// `memcpy`, which which can be expensive.
66+
/// `memcpy`, which can be expensive.
6767
///
6868
/// **Example:**
6969
///

0 commit comments

Comments
 (0)