about summary refs log tree commit diff
diff options
context:
space:
mode:
authorjekto_vatimeliju <jekto.vatimeliju@gmail.com>2021-01-06 20:02:50 +0900
committerjekto_vatimeliju <jekto.vatimeliju@gmail.com>2021-01-06 20:02:50 +0900
commit8a45ffa11dc528749eec50d81e14d993e59b466b (patch)
treeb42c2eeebb7467033f56bbab882397330b9de72c
parentefccfe80e4e5514d6f0da0f22eebd0f88f95c1a5 (diff)
downloadrust-8a45ffa11dc528749eec50d81e14d993e59b466b.tar.gz
rust-8a45ffa11dc528749eec50d81e14d993e59b466b.zip
Fix typo: `which which can be` -> `which can be`
-rw-r--r--clippy_lints/src/pass_by_ref_or_value.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/pass_by_ref_or_value.rs b/clippy_lints/src/pass_by_ref_or_value.rs
index 6a17d654ac9..c9d9e02717c 100644
--- a/clippy_lints/src/pass_by_ref_or_value.rs
+++ b/clippy_lints/src/pass_by_ref_or_value.rs
@@ -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:**
     ///