Skip to content

Commit

Permalink
Fix typo in description of unnecessary_mut_passed
Browse files Browse the repository at this point in the history
  • Loading branch information
HactarCE authored Aug 16, 2020
1 parent 3bd9889 commit d8f0a14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clippy_lints/src/mut_reference.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
///
Expand Down

0 comments on commit d8f0a14

Please sign in to comment.