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`
This commit is contained in:
commit
5d723d0de1
@ -9,8 +9,8 @@
|
||||
/// **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.
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user