about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNick Torres <nickrtorres@icloud.com>2020-05-23 16:14:38 -0700
committerNick Torres <nickrtorres@icloud.com>2020-05-23 16:15:30 -0700
commita709559705db19785b29ce4a9044d7aebaefec31 (patch)
treed29e0fc55cc817fa836c8e2b6a68155ffab1e23a
parentce86f907ef647ff4cb8c733ec6aae63b69e444a7 (diff)
downloadrust-a709559705db19785b29ce4a9044d7aebaefec31.tar.gz
rust-a709559705db19785b29ce4a9044d7aebaefec31.zip
Clarify the documentation of the `unnecessary_mut_passed` lint
-rw-r--r--clippy_lints/src/mut_reference.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/mut_reference.rs b/clippy_lints/src/mut_reference.rs
index e5680482e5b..67a1ac78a67 100644
--- a/clippy_lints/src/mut_reference.rs
+++ b/clippy_lints/src/mut_reference.rs
@@ -6,7 +6,7 @@ use rustc_middle::ty::{self, Ty};
 use rustc_session::{declare_lint_pass, declare_tool_lint};
 
 declare_clippy_lint! {
-    /// **What it does:** Detects giving a mutable reference to a function that only
+    /// **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