Skip to content

Commit d8f0a14

Browse files
authored
Fix typo in description of unnecessary_mut_passed
1 parent 3bd9889 commit d8f0a14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_lints/src/mut_reference.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ declare_clippy_lint! {
99
/// **What it does:** Detects passing a mutable reference to a function that only
1010
/// requires an immutable reference.
1111
///
12-
/// **Why is this bad?** The immutable reference rules out all other references
13-
/// to the value. Also the code misleads about the intent of the call site.
12+
/// **Why is this bad?** The mutable reference rules out all other references to
13+
/// the value. Also the code misleads about the intent of the call site.
1414
///
1515
/// **Known problems:** None.
1616
///

0 commit comments

Comments
 (0)