Skip to content

Commit 4632375

Browse files
committed
Auto merge of rust-lang#12665 - cowlicks:patch-1, r=Alexendoo
Fix typo in needless_borrows_for_generic_args.rs fix small typo changelog: none
2 parents dfd41ad + 8b5447c commit 4632375

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/needless_borrows_for_generic_args.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ use std::collections::VecDeque;
2323

2424
declare_clippy_lint! {
2525
/// ### What it does
26-
/// Checks for borrow operations (`&`) that used as a generic argument to a
26+
/// Checks for borrow operations (`&`) that are used as a generic argument to a
2727
/// function when the borrowed value could be used.
2828
///
2929
/// ### Why is this bad?

0 commit comments

Comments
 (0)