about summary refs log tree commit diff
path: root/clippy_lints/src/same_name_method.rs
diff options
context:
space:
mode:
authorPhilipp Krones <hello@philkrones.com>2024-07-11 15:29:08 +0200
committerPhilipp Krones <hello@philkrones.com>2024-07-11 15:29:08 +0200
commit1ced73e66a8c2c59a50bbcafa7e10d2772bd3aaf (patch)
treee5cc89346a2b99fe63989f94d501ec01ff94ee2e /clippy_lints/src/same_name_method.rs
parent920cbcdd456504acb6999fc647490fed0fe6eece (diff)
parentef3cfaa4f215a96a69ea81ee6fce8e58bdc51115 (diff)
Merge remote-tracking branch 'upstream/master' into rustup
Diffstat (limited to 'clippy_lints/src/same_name_method.rs')
-rw-r--r--clippy_lints/src/same_name_method.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/same_name_method.rs b/clippy_lints/src/same_name_method.rs
index 8fdd19c549f..508f3ae6def 100644
--- a/clippy_lints/src/same_name_method.rs
+++ b/clippy_lints/src/same_name_method.rs
@@ -12,7 +12,7 @@ use std::collections::{BTreeMap, BTreeSet};
 declare_clippy_lint! {
     /// ### What it does
     /// It lints if a struct has two methods with the same name:
-    /// one from a trait, another not from trait.
+    /// one from a trait, another not from a trait.
     ///
     /// ### Why restrict this?
     /// Confusing.