Skip to content

Commit

Permalink
Auto merge of #6554 - sozysozbot:master, r=flip1995
Browse files Browse the repository at this point in the history
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
  • Loading branch information
bors committed Jan 6, 2021
2 parents efccfe8 + 8a45ffa commit 8e5c5a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/pass_by_ref_or_value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ declare_clippy_lint! {
///
/// **Why is this bad?** Arguments passed by value might result in an unnecessary
/// shallow copy, taking up more space in the stack and requiring a call to
/// `memcpy`, which which can be expensive.
/// `memcpy`, which can be expensive.
///
/// **Example:**
///
Expand Down

0 comments on commit 8e5c5a6

Please sign in to comment.