about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-06-15 15:44:40 +0000
committerbors <bors@rust-lang.org>2021-06-15 15:44:40 +0000
commit1ee99d9bf54f04bd41a684d75a4536fbcb6e2663 (patch)
tree45e6a0a04a6da9d2afc98863d8c55e28f914301e
parent2d1e9ab980d467685396bd90b8cc512a73bb672e (diff)
parentfd0ea64990f3adc6d0d1b5942599872a7d61f70e (diff)
downloadrust-1ee99d9bf54f04bd41a684d75a4536fbcb6e2663.tar.gz
rust-1ee99d9bf54f04bd41a684d75a4536fbcb6e2663.zip
Auto merge of #7355 - Pyther99:common-tools-link, r=camsteffen
Fix link in docs

The [docs](https://github.com/rust-lang/rust-clippy/blob/master/doc/common_tools_writing_lints.md) had an incorrect link for "Checking if a type defines a specific method".

changelog: none
-rw-r--r--doc/common_tools_writing_lints.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/common_tools_writing_lints.md b/doc/common_tools_writing_lints.md
index abac1227b4f..0a85f650011 100644
--- a/doc/common_tools_writing_lints.md
+++ b/doc/common_tools_writing_lints.md
@@ -6,7 +6,7 @@ You may need following tooltips to catch up with common operations.
   - [Retrieving the type of an expression](#retrieving-the-type-of-an-expression)
   - [Checking if an expression is calling a specific method](#checking-if-an-expr-is-calling-a-specific-method)
   - [Checking if a type implements a specific trait](#checking-if-a-type-implements-a-specific-trait)
-  - [Checking if a type defines a method](#checking-if-a-type-defines-a-method)
+  - [Checking if a type defines a specific method](#checking-if-a-type-defines-a-specific-method)
   - [Dealing with macros](#dealing-with-macros)
 
 Useful Rustc dev guide links: