Skip to content

Commit 7057cd8

Browse files
committed
Correct needless_borrow_for_generic_args doc comment
1 parent 2208884 commit 7057cd8

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
@@ -59,7 +59,7 @@ declare_clippy_lint! {
5959

6060
pub struct NeedlessBorrowsForGenericArgs<'tcx> {
6161
/// Stack of (body owner, `PossibleBorrowerMap`) pairs. Used by
62-
/// `needless_borrow_impl_arg_position` to determine when a borrowed expression can instead
62+
/// [`needless_borrow_count`] to determine when a borrowed expression can instead
6363
/// be moved.
6464
possible_borrowers: Vec<(LocalDefId, PossibleBorrowerMap<'tcx, 'tcx>)>,
6565

0 commit comments

Comments
 (0)