about summary refs log tree commit diff
path: root/clippy_lints/src/mut_reference.rs
diff options
context:
space:
mode:
authorflip1995 <hello@philkrones.com>2020-05-28 15:45:24 +0200
committerflip1995 <hello@philkrones.com>2020-05-28 15:45:24 +0200
commita0e9f9bd0dca39ccff47baedffa94aca74911a86 (patch)
treeff326c800e6850dcb2109284dd5070d1126616f4 /clippy_lints/src/mut_reference.rs
parente820a03d1c905d58b27d7ac6d85f450f9754ba79 (diff)
downloadrust-a0e9f9bd0dca39ccff47baedffa94aca74911a86.tar.gz
rust-a0e9f9bd0dca39ccff47baedffa94aca74911a86.zip
Merge commit '7ea7cd165ad6705603852771bf82cc2fd6560db5' into clippyup2
Diffstat (limited to 'clippy_lints/src/mut_reference.rs')
-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