about summary refs log tree commit diff
path: root/clippy_utils/src
diff options
context:
space:
mode:
authorTakayuki Nakata <f.seasons017@gmail.com>2022-07-01 21:30:59 +0900
committerTakayuki Nakata <f.seasons017@gmail.com>2022-07-01 21:30:59 +0900
commit1988375a25e8e8f61429cd40fa21c22a421b1df8 (patch)
tree5222f9591845a7ab7d56f0a4df208ebb1100f805 /clippy_utils/src
parent23db5ce261cb8cf933d7b7988699cc1a28cee311 (diff)
downloadrust-1988375a25e8e8f61429cd40fa21c22a421b1df8.tar.gz
rust-1988375a25e8e8f61429cd40fa21c22a421b1df8.zip
Fix some links
Diffstat (limited to 'clippy_utils/src')
-rw-r--r--clippy_utils/src/ty.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_utils/src/ty.rs b/clippy_utils/src/ty.rs
index 6ca36eed4e6..b7da1abd373 100644
--- a/clippy_utils/src/ty.rs
+++ b/clippy_utils/src/ty.rs
@@ -147,7 +147,7 @@ pub fn has_iter_method(cx: &LateContext<'_>, probably_ref_ty: Ty<'_>) -> Option<
 /// * [`get_trait_def_id`](super::get_trait_def_id) to get a trait [`DefId`].
 /// * [Common tools for writing lints] for an example how to use this function and other options.
 ///
-/// [Common tools for writing lints]: https://github.com/rust-lang/rust-clippy/blob/master/doc/common_tools_writing_lints.md#checking-if-a-type-implements-a-specific-trait
+/// [Common tools for writing lints]: https://github.com/rust-lang/rust-clippy/blob/master/book/src/development/common_tools_writing_lints.md#checking-if-a-type-implements-a-specific-trait
 pub fn implements_trait<'tcx>(
     cx: &LateContext<'tcx>,
     ty: Ty<'tcx>,