diff options
| author | bors <bors@rust-lang.org> | 2020-08-16 19:27:27 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-08-16 19:27:27 +0000 |
| commit | 5d723d0de18441e72264335dea3e80dd9fee970e (patch) | |
| tree | 84a8718cc8d60717744759ffc46dac6dac80cdf6 | |
| parent | 3bd98895f13112912df3a7f23923470b07d53a09 (diff) | |
| parent | d8f0a14da1b79f409bb9fb4493dc001986a72ae0 (diff) | |
| download | rust-5d723d0de18441e72264335dea3e80dd9fee970e.tar.gz rust-5d723d0de18441e72264335dea3e80dd9fee970e.zip | |
Auto merge of #5913 - HactarCE:patch-1, r=flip1995
Fix typo in description of unnecessary_mut_passed changelog: Correct "immutable reference" to "mutable reference" in description of `unnecessary_mut_passed`
| -rw-r--r-- | clippy_lints/src/mut_reference.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clippy_lints/src/mut_reference.rs b/clippy_lints/src/mut_reference.rs index be3ae7ab380..c506440ed79 100644 --- a/clippy_lints/src/mut_reference.rs +++ b/clippy_lints/src/mut_reference.rs @@ -9,8 +9,8 @@ declare_clippy_lint! { /// **What it does:** Detects passing a mutable reference to a function that only /// requires an immutable reference. /// - /// **Why is this bad?** The immutable reference rules out all other references - /// to the value. Also the code misleads about the intent of the call site. + /// **Why is this bad?** The mutable reference rules out all other references to + /// the value. Also the code misleads about the intent of the call site. /// /// **Known problems:** None. /// |
