about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-04-11 14:45:31 +0000
committerbors <bors@rust-lang.org>2024-04-11 14:45:31 +0000
commit46323751ade53f3048a42309d0a13252745b5294 (patch)
treea1ac0c01f31fa861f19206ffc24b534c41bcdb1a
parentdfd41ad426924c6d0940b7d0b618ab51ff4826ad (diff)
parent8b5447c622ffe8804ec2d395a5f43e01b93455e9 (diff)
downloadrust-46323751ade53f3048a42309d0a13252745b5294.tar.gz
rust-46323751ade53f3048a42309d0a13252745b5294.zip
Auto merge of #12665 - cowlicks:patch-1, r=Alexendoo
Fix typo in needless_borrows_for_generic_args.rs

fix small typo

changelog: none
-rw-r--r--clippy_lints/src/needless_borrows_for_generic_args.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/needless_borrows_for_generic_args.rs b/clippy_lints/src/needless_borrows_for_generic_args.rs
index c555fc8675c..a24cd4f9c8a 100644
--- a/clippy_lints/src/needless_borrows_for_generic_args.rs
+++ b/clippy_lints/src/needless_borrows_for_generic_args.rs
@@ -23,7 +23,7 @@ use std::collections::VecDeque;
 
 declare_clippy_lint! {
     /// ### What it does
-    /// Checks for borrow operations (`&`) that used as a generic argument to a
+    /// Checks for borrow operations (`&`) that are used as a generic argument to a
     /// function when the borrowed value could be used.
     ///
     /// ### Why is this bad?