about summary refs log tree commit diff
path: root/clippy_lints/src/methods
diff options
context:
space:
mode:
authorPhilipp Krones <hello@philkrones.com>2023-03-10 10:53:50 +0100
committerPhilipp Krones <hello@philkrones.com>2023-03-10 10:53:50 +0100
commitcf8a67d9ad81547895ec986f8bcb17e912037c38 (patch)
treeedc3b5da6b9b1cd68b680506a91ee7f59897a66a /clippy_lints/src/methods
parenteceedd9c8b2d42695cf45d1c94e85819feba64bc (diff)
downloadrust-cf8a67d9ad81547895ec986f8bcb17e912037c38.tar.gz
rust-cf8a67d9ad81547895ec986f8bcb17e912037c38.zip
Merge commit '3c06e0b1ce003912f8fe0536d3a7fe22558e38cf' into clippyup
Diffstat (limited to 'clippy_lints/src/methods')
-rw-r--r--clippy_lints/src/methods/mod.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/clippy_lints/src/methods/mod.rs b/clippy_lints/src/methods/mod.rs
index 702df4b282b..56e3988bf09 100644
--- a/clippy_lints/src/methods/mod.rs
+++ b/clippy_lints/src/methods/mod.rs
@@ -340,8 +340,9 @@ declare_clippy_lint! {
 
 declare_clippy_lint! {
     /// ### What it does
-    /// Checks for methods with certain name prefixes and which
-    /// doesn't match how self is taken. The actual rules are:
+    /// Checks for methods with certain name prefixes or suffixes, and which
+    /// do not adhere to standard conventions regarding how `self` is taken.
+    /// The actual rules are:
     ///
     /// |Prefix |Postfix     |`self` taken                   | `self` type  |
     /// |-------|------------|-------------------------------|--------------|